Hey all, I'm running into some problems with Google webmaster tools and my sitemap. About a week ago, I moved from one host/server to a new host/server. I'm wondering how to properly redirect, possibly using a 301 in order to get around any duplicate content issue G might have. I have no idea how to properly insert this into my old .htaccess. Google's cache is still showing pages from prior to the move, although new pages are getting indexed from the new server. My sitemap is showing a large amount of errors, and I think this redirect may solve that, but I'm not sure! any help would be much appreciated! dave
If all you did was change to a new host/server without changing your site's domain, file extensions, or file names then you shouldn't have to 301 redirect anything - all you need to do is generate a new xml sitemap on your new server and then submit it to Google under their Webmaster Tools section while you are logged into a Google account. If you did change your site's domain, file extensions, or file names then you will need to do a 301 redirect in your .htaccess for each separate page like this: redirect 301 /old-file-name.html http://www.newdomain.com/new-file-name.php Code (markup):
Your new host should be able to help you out. Depending on who your host is they may have a different way of doing 301 redirects than the .htaccess file. Mine does.