I have 2 sites; I was forced, for legal reasons, to abandon my first domain and use the new one. Problem is they are both on the same IP and share the same .htaccess file. I am seeing the old domain still rank for product pages, but content is deindexed, and I wasn't able to 301 from the old domain to the new one.
I figured out a redirect to tell the old domain to redirect to the new one; I thought it had worked. But now I am seeing the new domain register in Yahoo! Site Explorer as two subdomains, both the same new URL, but have the current title and the old title. So to be clear, in Yahoo! Site Explorer, under the subdomains tab, I am seeing:
1. Old Domain Title
www.new-domain-name.com
2. New Domain Title
www.new-domain-name.com
Here is the redirect I am using:
RewriteCond %{HTTP_HOST} ^(www\.)?old-domain-name.com [NC]
RewriteRule ^(.*)$ [
new-domain-name.com...] [L,R=301]
Is there a better way to do this? I was thinking of pointing the nameservers of the old domain address to a different server so I could use a different .htaccess file, I feel like that would solve the entire problem I am seeing.
Anyone ever seen this?
Thanks!