.htaccess loop?
-
Hi,
I’m using NearlyFreeSpeech to host my WordPress site.
I’m having a bit of trouble with .htaccess and the permalinks.
I can view the site at matt.mccurdyfamily.net, but I cannot get to any of the pages. (matt.mccurdyfamily.net/about). I get the web host’s 404 page.
At the root site, I have this:
RewriteEngine on RewriteCond %{ENV:REDIRECT_ENTEREDSITE} !=1 RewriteCond %{ENV:REDIRECT_REDIRECT_ENTEREDSITE} !=1 RewriteRule ^.*$ %{HTTP_HOST}/$0 [env=ENTEREDSITE:1] [last]I found this on the NFS wiki to make a subdomain from a directory.
The .htaccess contents given to me on the permalinks settings is this:
<IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </IfModule>However, when I try to access wp-admin, it loops to this:
http://matt.mccurdyfamily.net/wp-login.php?redirect_to=http%3A%2F%2Fmatt.mccurdyfamily.net%2Fmatt.mccurdyfamily.net%2Fwp-admin%2F&reauth=1This only happens when I place the .htaccess in the
/home/public/matt.mccurdyfamily.netdirectory.My files are located here:
/home/public/matt.mccurdyfamily.net/Both my site URL and WordPress Address are
http://matt.mccurdyfamily.netDoes anyone have any tips for correcting this problem?
Thanks.
The topic ‘.htaccess loop?’ is closed to new replies.