Forum Moderators: phranque
I have bought a new domain for my site and I need help with redirecting old domain to new.
Link structure will be completely differend:
www.oldsite.com/section/category/article1.html
www.newsite.com/something-else/something-else1.html
My plan is to create 301 redirection in .htaccess for every of my 50 content links separately, and to redirect other non content links just to www.newsite.com.
How?
Be aware that changing the domain *and* the page URLs all at the same time means that it is very likely your site will drop in the search results for anywhere from 30 days to a year. Search engines don't like it all when you change URLs or change domain names. This project does both.
Jim
I need more help with redirecting.
I will redirect all my 50 content pages like this:
Redirect 301 /section/cat/article.html http://www.example.com/something-else/blabla.html
I think this will be ok.
But I don't know how to redirect all other non content pages only to http://www.example.com
If I have:
Redirect 301 / http://www.example.com/
It redirects /non-content-page/ to http://www.example.com/non-content-page/ instead to http://www.example.com/
[edited by: jdMorgan at 4:50 pm (utc) on Aug. 2, 2007]
[edit reason] example.com [/edit]
404-Not found means the file can't be found, but gives not more information. So the search engine doesn't know if it's a bad link on your site or another site, or whether you accidentally removed the file, or whether your script (if you use one) is bad, or whether your server is mis-configured... So what should it do? There's no good answer, so most search engines keep trying to re-fetch the URL, either for hours or for months...
410-Gone says, "This page is gone because it was intentionally removed. Nothing more to see here, folks, move along..."
Jim