{"id":6264872,"date":"2015-06-24T19:36:48","date_gmt":"2015-06-24T19:36:48","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/solving-wp-not-loging-loop-error\/"},"modified":"2016-08-30T14:48:29","modified_gmt":"2016-08-30T14:48:29","slug":"solving-wp-not-loging-loop-error","status":"closed","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/solving-wp-not-loging-loop-error\/","title":{"rendered":"SOLVING WP not loging loop error"},"content":{"rendered":"<p>Hi all!<\/p>\n<p>I&#8217;ve tried to login today to my WP new site and I didn&#8217;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. <\/p>\n<p>I even tried, as found in another posts here, to:<br \/>\n* Modify the wp-login.php file<br \/>\n* Fix the wp_options &#8216;siteurl&#8217; and &#8216;home&#8217; fields in DB<br \/>\n* Clear browser&#8217;s cache and cookies<br \/>\n* Etc&#8230;<\/p>\n<p>I just found out that nothing of that solved this issue, so I&#8217;m posting my solution here, in case it helps.<\/p>\n<p>It seems this problem mostly happens on Godady and 1&amp;1 hosting services, or the ones that make an automatic install of wordpress using weird file systems.<\/p>\n<p>I&#8217;ve found out that this loop is caused by the server not being able to redirect or rewrite URIs, so here&#8217;s the fix.<\/p>\n<p>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<\/p>\n<p>2. Check if it have the Rewrite conditions that wordpress need. It should look like this:<\/p>\n<pre><code># BEGIN WordPress\n&lt;IfModule mod_rewrite.c&gt;\nRewriteEngine On\nRewriteBase \/\nRewriteRule ^index\\.php$ - [L]\nRewriteCond %{REQUEST_FILENAME} !-f\nRewriteCond %{REQUEST_FILENAME} !-d\nRewriteRule . \/index.php [L]\n&lt;\/IfModule&gt;\n# END WordPress<\/code><\/pre>\n<p>3. Add the <code>RewriteOptions inherit<\/code> option at the begining of the instructions, before RewriteEngine On, and save the file:<\/p>\n<pre><code># BEGIN WordPress\n&lt;IfModule mod_rewrite.c&gt;\nRewriteOptions inherit\nRewriteEngine On\nRewriteBase \/\nRewriteRule ^index\\.php$ - [L]\nRewriteCond %{REQUEST_FILENAME} !-f\nRewriteCond %{REQUEST_FILENAME} !-d\nRewriteRule . \/index.php [L]\n&lt;\/IfModule&gt;\n# END WordPress<\/code><\/pre>\n<p>That&#8217;s it, that worked for me \ud83d\ude42<\/p>\n","protected":false},"template":"","class_list":["post-6264872","topic","type-topic","status-closed","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/6264872","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/6264872\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=6264872"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}