SOLVING WP not loging loop error
-
Hi all!
I’ve tried to login today to my WP new site and I didn’t make it. Yestarday it was working fine after the install. When I go loging in, WP redirect me with no message nor errors to the wp-login.php page.
I even tried, as found in another posts here, to:
* Modify the wp-login.php file
* Fix the wp_options ‘siteurl’ and ‘home’ fields in DB
* Clear browser’s cache and cookies
* Etc…I just found out that nothing of that solved this issue, so I’m posting my solution here, in case it helps.
It seems this problem mostly happens on Godady and 1&1 hosting services, or the ones that make an automatic install of wordpress using weird file systems.
I’ve found out that this loop is caused by the server not being able to redirect or rewrite URIs, so here’s the fix.
1. Go to the .htaccess file that the hosting service created by installing worpress. Use an FTP program or go through the file system on your hosting control panel
2. Check if it have the Rewrite conditions that wordpress need. It should look like this:
# BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </IfModule> # END WordPress3. Add the
RewriteOptions inheritoption at the begining of the instructions, before RewriteEngine On, and save the file:# BEGIN WordPress <IfModule mod_rewrite.c> RewriteOptions inherit RewriteEngine On RewriteBase / RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </IfModule> # END WordPressThat’s it, that worked for me 🙂
The topic ‘SOLVING WP not loging loop error’ is closed to new replies.