Friday, May 21, 2010

firefox error due to htaccess 301 redirect wpmu

if you see an error like
Firefox has detected that the server is redirecting the request for this address in a way that will never complete.

after you add a line in the .htaccess

redirect 301 / http://www.you.com/your wordpress site folder/

I found it was due to a
Canonical issues: www vs. non-www

remove the lines
redirect 301 / http://www.you.com/your wordpress site folder/

and add

Options +FollowSymLinks
RewriteEngine on
RewriteCond %{HTTP_HOST} ^yoursite.com [NC]
RewriteRule ^(.*)$ http://www.yoursite.com/your wordpress wpmu folder name$1 [L,R=301]

No comments:

Post a Comment