301 redirect promblem
I deleted contents of the redirected domain directory and left an .htacces file with the following code.
Options +FollowSymLinks
RewriteEngine on
RewriteRule (.*) http://www.mydomain.com/$1 [R=301,L]
I have this exact .htaccess file on another redirected domain on the same server and it works perfectly.
I know I did something wrong somewhere because my browser tries going to a misspelled domain, my domain is ( example ) DentistOfMyCity.com and it tries going to DentistInMyCity.com. So the error is obviously mine, but the .htacces file does contain the correct domain.
What am I missing.
I did go into webmaster tools and updated a change of address there, which is correct.
Where did I screw up?
Any input is greatly appreciated.
The 2nd Amendment, 1789 - The Original Homeland Security.
Gun control means never having to say, "I missed you."