Jump to content
Gidget

301 Redirect Problem

Recommended Posts

I am redirecting one domain to another and I've deleted contents of the redirected domain except .htacces file with the following code.

 

Options +FollowSymLinks

RewriteEngine on

RewriteRule (.*) http://www.mydomain.com/$1 [R=301,L]

 

I don't know why my browser is misspelling the domain from (Example, ListOfCodes.com redirects to ListInCodes.com). The .htacces file does contain the correct domain name and don't know What am I missing?

 

Where did I screw up?

Any input is greatly appreciated.

Share this post


Link to post
Share on other sites

Seems OK to me. If it still doesn't work, delete the file and manually create and upload it again. This may seem strange but this has worked for me few times.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...