Hello, I've built my site on the subdomain of my main domain thinking that in the future I might use my main domain as a more general site. Well my main domain has been blank for so long that now I want to move the subdomain site to the main domain. I'm getting some natural traffic from google and I dont want to lose that. I was hoping you guys can share your expertise here. Whats the best way to carry this out without losing your Google rankings? Thanks
The best way is to use 301 redirects. If you link structure is going to be the same (it's better not to change it) than you can add this code: RewriteEngine on RewriteRule (.*) http://www.yourmainsite.tld/$1 [R=301,L] Code (markup): in your .htaccess file of the subdomain directory and the users plus the SE bots will be redirected to main domain. Cheers
Thanks olti! Yup, the file/link structure is not changing. When can i get rid of the subdomain? Will the existing indexed pages in google update to the main domain?