Problem with a 301 redirect – is it needed?
-
Domain A: https://www.mslogica.com
Domain B: https://www.planetmillie.com
Wordpress: 3.8.1
Theme: Child theme of Twenty TwelveHiya,
This week I have moved my website from domain A to domain B. The hosting remains on the same server, and the database is now linked to domain B.
I have updated the URL in the WordPress dashboard. I have also updated my Google Webmaster Tools to the new URL. And finally, I have updated all the links within my blog posts to the new URL.
I thought I needed to do a 301 redirect as well to accommodate all the old links on external sites, and added the following code to my htaccess file:
# For security reasons, Option followsymlinks cannot be overridden.
#Options +FollowSymLinks
Options +SymLinksIfOwnerMatch
RewriteEngine on
RewriteRule (.*) https://www.planetmillie.com/$1 [R=301,L]However, when I now click on old links (hosted through external websites), I get the following error:
Too many redirects occurred trying to open “www.planetmillie.com”. This might occur if you open a page that is redirected to open another page which then is redirected to open the original page.
Have I got carried away? Do I not need the 301 redirect on top of everything else? Or is there an error in my process somewhere?
- The topic ‘Problem with a 301 redirect – is it needed?’ is closed to new replies.