Best way to Redirect a domain name?
Hi guys,
I'm currently redirecting a domain name using an Apache rewrite, so all URLs link to, for example, www.olddomain.com/somefile.html will be redirected to www.newdomain.com/somefile.html
This is the Apache rewrite I'm using (in httpd.conf):
Code:
ServerName olddomain.com
ServerAlias www.olddomain.com
RewriteEngine on
RewriteRule ^/(.*) http://www.newdomain.com/$1 [L,R]
However, Google is not updating with this change, and actually still indexing the old URL with the new content!!
Any ideas of the best way to migrate domains, but keep direct links still operational?
Mark