Member Offer
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

A total numpty

Discussion in 'Website Coding & Programming Forum:' started by YellowPeril, Aug 8, 2011.

  1. YellowPeril

    YellowPeril Member

    I have very little technical knowledge and armed with this I have put together a temporary website for myself. I'm using this site to try certain things and gain knowledge before putting together a permanent job.

    I've had another site with the same domain name running for several years and references to the old site comes up in searches. Some of these will take people to the new site and others that have a sub reference that doesn't exist on the new site won't link. Obviously, I'd like to take advantage of these, but don't know how to link them to the new site - can someone help please?

  2. rgregory

    rgregory Member


    You need to look into 301 redirects and depending on your hosting setup use apache / .htaccess to add rules to forward all old pages to your new page.

    If you do a google search you will find everything you need.

  3. YellowPeril

    YellowPeril Member

    I did say total numpty and having just searched 301 redirect, it may has well have been in Russian (which I also don't understand).

    If I were to create files in the same names as the links that are not linking, am I correct in thinking that these would link?
  4. Corrosive

    Corrosive Moderator Staff Member

    If you can match all the URLs then that would work but 301 is still the way to go IMO.
  5. squeezee

    squeezee Member

  6. Alex

    Alex Member

    Yep, that link by squeezee is a good one. Just follow that carefully and you should be able to work out what to do. You'll be creating a line of code like this for each of the old pages you want to keep the google juice for:

    Redirect 301 oldPage.html

Share This Page