Hello all, I have just found out a very weird situation with one of my sites. To cut it short, the site went downhill in Google after May 21st. I thought it had to do with the Bourbon update, but today I did a search at google for "www.mydomain.com". What I got back was another site, "www.mydomain2.com". For instance, when I try to view the cache copy of mydomain.com, it shows up as mydomain2.com. BTW, the cached copy is very recent (was today's, as a matter of fact). Several weeks ago I did temporary 301 redirects from mydomain.com to mydomain2.com. Probably about three times, two of them only for a couple of days and the third for about a week, and only because the script at mydomain.com stopped working for a while and I didn't have time to fix it then. Right now, and for quite a few weeks, there hasn't been any kind of redirect at mydomain.com. I thought that was the culprit, so I tried doing a 301 redirect now from www.mydomain2.com to www.mydomain.com. After a few hours waiting until Google reindexed those pages, the results are that www.mydomain.com still shows up as www.mydomain2.com at Google. Only now the cached paged date is May 29th. I'm at loss as to what may be causing this. Yahoo search is indexing www.mydomain.com correctly. Why is google seeing one page as if it was the other? And most importantly, what could I do to make Google reindex mydomain.com? Thanks a lot for any feedback and I hope I was clear enough on my explanation.
you could use this 301 permanent redirect code to the main site on your .htaccess file. RewriteEngine on RewriteCond %{HTTP_HOST} !^www\.yourdomain\.com [NC] RewriteRule ^(.*) http://www.yourdomain.com/$1 [L,R=301] Code (markup):
Thanks for the feedback, but currently there is no redirect code in any of the sites I mentioned. That is, accessing domain1.com would bring you to domain1.com and accessing domain2.com would bring you to domain2.com. However, Google still indexes domain1.com as if it was domain2.com. Any ideas, pleeeeease?