-
11 March 2011, 7:24 am
#1
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
-
-
11 March 2011, 7:48 am
#2
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]:
-
The Following User Says Thank You to rak For This Useful Post:
-
11 March 2011, 8:00 am
#3
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?
-
-
11 March 2011, 10:13 am
#4
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
-
-
11 March 2011, 10:42 am
#5
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?
-
-
11 March 2011, 12:27 pm
#6
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
-
Forum Rules