• Visitors can check out the Forum FAQ by clicking this link. You have to register before you can post: click the REGISTER link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. View our Forum Privacy Policy.
  • Want to receive the latest contracting news and advice straight to your inbox? Sign up to the ContractorUK newsletter here. Every sign up will also be entered into a draw to WIN £100 Amazon vouchers!

You are not logged in or you do not have permission to access this page. This could be due to one of several reasons:

  • You are not logged in. If you are already registered, fill in the form below to log in, or follow the "Sign Up" link to register a new account.
  • You may not have sufficient privileges to access this page. Are you trying to edit someone else's post, access administrative features or some other privileged system?
  • If you are trying to post, the administrator may have disabled your account, or it may be awaiting activation.

Previously on "Noddy Question For The Web Types"

Collapse

  • TheFaQQer
    replied
    Originally posted by suityou01 View Post
    This should have hit the "he mains after I need this sneaky hack-around" receptors in your frontal lobes.

    HTH
    Hit the what?

    Leave a comment:


  • suityou01
    replied
    Originally posted by SimonMac View Post
    New Vidahost doesn't use cPanel, and redirects don't mask the address, they just redirect you to the new one.
    It must use something. You are correct, redirects just redirect. That is why I prefixed this with the phrase "when you are ready to switch over". This should have hit the "he mains after I need this sneaky hack-around" receptors in your frontal lobes.

    HTH

    Leave a comment:


  • FrontEnder
    replied
    Originally posted by SimonMac View Post
    Its a quick and dirty solution until the site is overhauled

    It's not particularly difficult to do, might take a day or 2 for the host/dns to take effect, but only a few mins effort for you.

    Leave a comment:


  • SimonMac
    replied
    Originally posted by FrontEnder View Post
    This shouldn't be done with code. The proper way to do it to point the your DNS providers nameserver to your hosting provider. You'll also need to tell your hosting provider to use the new address.
    Its a quick and dirty solution until the site is overhauled

    Leave a comment:


  • FrontEnder
    replied
    This shouldn't be done with code. The proper way to do it to point the your DNS providers nameserver to your hosting provider. You'll also need to tell your hosting provider to use the new address.

    Leave a comment:


  • SimonMac
    replied
    Originally posted by suityou01 View Post
    That would work. What you have done here is create a frame within a web page and point that frame at the old web site. This is fundamentally how "mashups" work, for example when you see a web site with the ftse 100 share prices, the google weather report and the news headlines, like those big screens in the lobbies of the big company foyers. Lots of frames all pointing to different places.

    So I think you have cracked it. If as and when you want to make the switch over to the new domain you can either pop a redirect script into an index.htm, or do a domain redirect on the domain hosts CPanel.

    PM me for further infos.
    New Vidahost doesn't use cPanel, and redirects don't mask the address, they just redirect you to the new one.

    Originally posted by mudskipper View Post
    Well it depends

    If you're running the site in an iframe, the URL visible in the address bar will never change when you navigate to other pages. So if, for example, you're taking payment, the user could get concerned over the lack of a 'padlock'.
    It's the site for a museum so no payments to take, its not perfect but will do for long enough that I can get the people running the place to agree what they want the new website to look like

    Leave a comment:


  • mudskipper
    replied
    Well it depends

    If you're running the site in an iframe, the URL visible in the address bar will never change when you navigate to other pages. So if, for example, you're taking payment, the user could get concerned over the lack of a 'padlock'.

    Leave a comment:


  • suityou01
    replied
    Originally posted by SimonMac View Post
    Not using Wordpress (yet)

    this worked

    Code:
    <html>
    <head>
    <title>Page Title</title>
    <meta name="description" content="Description">
    <meta name="keywords" content="Keyword1, Keyword2">
    </head>
    <frameset rows="100%,0" border="0">
    <frame src="http://yourotherdomain.com" frameborder="0">
    <frame frameborder="0">
    </frameset>
    </html>
    That would work. What you have done here is create a frame within a web page and point that frame at the old web site. This is fundamentally how "mashups" work, for example when you see a web site with the ftse 100 share prices, the google weather report and the news headlines, like those big screens in the lobbies of the big company foyers. Lots of frames all pointing to different places.

    So I think you have cracked it. If as and when you want to make the switch over to the new domain you can either pop a redirect script into an index.htm, or do a domain redirect on the domain hosts CPanel.

    PM me for further infos.

    Leave a comment:


  • SimonMac
    replied
    Originally posted by northernladuk View Post
    I found this interesting but if you've cracked it never mind.

    https://css-tricks.com/redirect-web-page/
    Saw that, but that just redirects it rather than masks the url

    Leave a comment:


  • northernladuk
    replied
    I found this interesting but if you've cracked it never mind.

    https://css-tricks.com/redirect-web-page/

    Leave a comment:


  • SimonMac
    replied
    Originally posted by northernladuk View Post
    Not using Wordpress (yet)

    this worked

    Code:
    <html>
    <head>
    <title>Page Title</title>
    <meta name="description" content="Description">
    <meta name="keywords" content="Keyword1, Keyword2">
    </head>
    <frameset rows="100%,0" border="0">
    <frame src="http://yourotherdomain.com" frameborder="0">
    <frame frameborder="0">
    </frameset>
    </html>

    Leave a comment:


  • northernladuk
    replied
    Use the Wordpress plugin?

    https://wordpress.org/plugins/redirection/

    Leave a comment:


  • SimonMac
    replied
    Another Noddy Question For The Web Types

    A charity I help out has a website:

    somerandomenaffnamewith.bthosting.com

    I have purchased chartiyname.org for them and I want to redirect the new site to the old one, but keep the new name?

    I tried a .htaccess 301 redirect but that changed the url to the old one as well, is it possible to do what I need while we work out how to move the site to the new hosting?

    Leave a comment:


  • northernladuk
    replied
    Originally posted by SimonMac View Post
    I freely admit to being a cock womble, I have never once pretended to be a code monkey
    I would never stoop as low as to call you one of those!

    Leave a comment:


  • FrontEnder
    replied
    You should also do it as either:

    Code:
    <a href="..." download>link text</a>
    or if you want the file to be named:

    Code:
    <a href="..." download="nice_file_name.pdf">link text</a>

    Leave a comment:

Working...
X