.htaccess problem on subdirectory install
-
I am having problems with the .htacess, wp-admin, and/or the subdirectory after trying to eliminate the subfolder in the URL. We followed the instructions on the codex, but more than one person has been working on fixing it and now we have a mess, including messed up .htaccess files. We have attempted to restore it by moving the index.php and .htacess BACK to the subdirectory.
-The web address is cdllife.com and it is hosted at GoDaddy
-I can access everything (including posts), but am given a redirection/infinite loop error at cdllife.com/CDLLIFE/wp-admin (via Firefox) and a 404 if the subfolder is withheld from the url. I cannot access the admin panel or even the login screen. This is the exact error message:
“The page isn’t redirecting properly” “Firefox has detected that the server is redirecting the request for this address in a way that will never complete.”
-I am not sure what the blog home and url are set at under the general settings (I am assuming it is directing to the subdirectory), but I’ve tried setting it differently in the wp-config file and this always results in the site returning a 404 error or worse.
-There is an .htaccess file at the domain level and this is the contents:
# BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase /CDLLIFE/ RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /CDLLIFE/index.php [L] </IfModule> # END WordPress
There is also an .htaccess file in the subdirectory where WordPress is installed. This is what it contains:
# BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine Off RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </IfModule> # END WordPress
I’ve tried everything I can, but I’m not sure how to fix it. I’d rather not do a clean install on the www level, but that’s my next step ??
Please help! If I can provide any additional information, please let me know… and THANK YOU!
- The topic ‘.htaccess problem on subdirectory install’ is closed to new replies.