Forum Moderators: phranque
RewriteEngine on
RewriteRule (.*) [newdomain.tld...] [R=301,QSA,L]
This will redirect all to the equivalent on the new domain, providing you keep the same directory structure.
The R=301 flag will ensure that the moved permanently header is returned to the caller, and the QSA (Query String Append) flag will rewrite your URI and append the original QUERY_STRING once rewritten.
When I use the simspider over at search engine world it's getting a 200 status when I have it visit my old domain that's being redirected to the new domain. It shows the new domain content for "Spider Text" but it keeps the "Spider URL" as the old domain. I used the server header checker and I get a 301 redirect when accessing my old domain though.
Inktomi has already picked up my new site.....but it didn't update the URL. The title of all my pages are the name of the new domain...but the URL it's listed under is for the old domain.
Can someone please explain why the above 301 redirect is not working for the spiders?
This could be normal, but wouldn't my old domain start dissapearing completely from the index when it starts picking up my new domain?
Welcome to WebmasterWorld [webmasterworld.com]!
Inktomi is very slow about updating URLs. The last time I removed a few pages, it took Ink a year to stop asking for them, despite the 404-Not Found and 410-Gone responses. Keep your 301 redirects in place, and Ink will eventually figure it out.
Google is usually a lot faster, but unpredictable. The timing of picking up new URLs versus dropping old ones seems random. Make sure you have at least a few incoming links to the new domain -- that will help it get indexed faster. The process of 'resolving' the 301'ed URLs, their incoming links, and their Page Rank to the new URLs seems to take anywhere from a few weeks to two months. Well, that used to be true, but now that Google seems to have no fixed spidering schedule, it may vary even more.
Put priority on getting some incoming links to the new domain, and then you'll just have to be patient and wait for the search engines to catch up. Now might be a good time for a short vacation...
Jim
This sounds like they just have not yet credited your old back-links to your new URL. I think they have slowed down the backlink analysis/updates recently.
Make sure you get some of your good backlinks updated to point to the new domain. That should help.
Jim