Results 1 to 6 of 6
  1. #1
    theshortstack is offline Private Member
    Join Date
    August 2008
    Location
    London
    Posts
    145
    Thanks
    4
    Thanked 6 Times in 4 Posts

    Default Transferring content on to a new domain

    I'm looking to transfer all content from one one of my sites on to a new, improved domain that I've recently purchased.

    My understanding is that I need to place a 301 on all of the URLs of my current site to redirect Google to the URL on the new domain where the content will now be residing.

    Two quick questions:

    - Is 301 like this all I need to do?
    - Is there a 'quick' way of doing this or do I need have an individual 301 command for every separate page on my current site. I guess what would be ideal would be to have some kind of code which would allow me to 301 all pages on my current site to exactly the same location on the new domain.

    Thanks a lot in advance for your help

  2. #2
    rak's Avatar
    rak
    rak is offline Former AM
    Join Date
    January 2011
    Location
    Philippines
    Posts
    1,123
    Thanks
    250
    Thanked 334 Times in 258 Posts

    Default

    301 is all you need, and you don't need to do it line by line - try this.

    Options +FollowSymLinks
    RewriteEngine on
    RewriteRule (.*) http://www.yournewdomain.com/$1 [R=301,L]:

  3. The Following User Says Thank You to rak For This Useful Post:

    Daera (4 April 2011)

  4. #3
    theshortstack is offline Private Member
    Join Date
    August 2008
    Location
    London
    Posts
    145
    Thanks
    4
    Thanked 6 Times in 4 Posts

    Default

    Thanks Rak,

    Will that just redirect the root though? Or will it correctly 301 all of the sub pages that have already been indexed in Google?

  5. #4
    Fergie's Avatar
    Fergie is offline Private Member
    Join Date
    March 2005
    Location
    Vancouver Island
    Posts
    500
    Thanks
    233
    Thanked 165 Times in 96 Posts

    Default

    The htaccess 301 redirect will correctly redirect all your pages/directories.

    You can test your pages after implementing the redirect here:
    http://www.webconfs.com/redirect-check.php
    Janet

  6. #5
    theshortstack is offline Private Member
    Join Date
    August 2008
    Location
    London
    Posts
    145
    Thanks
    4
    Thanked 6 Times in 4 Posts

    Default

    Sorry to dwell on this, but I just want to make sure.

    By using the 301 code that Rak mentioned above, my sub pages will be re-directed from:

    http://www.olddomain.com/review/casino

    to

    http://www.newdomain.com/review/casino

    Correct?

  7. #6
    Fergie's Avatar
    Fergie is offline Private Member
    Join Date
    March 2005
    Location
    Vancouver Island
    Posts
    500
    Thanks
    233
    Thanked 165 Times in 96 Posts

    Default

    Yes.

    And use that utility I posted the url for, to put yourself at peace once you've put the code on your htaccess.
    Janet

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •