Wordpress wp-admin infinite redirect loop

I am having problems with a wordpress site to enter the admin area.

If I login with: http://www.example.com/wp-admin/

I get an infinite redirect loop, but if I enter with:

http://www.example.com/wp-admin/index.php

works

0


source to share


1 answer


Since it /wp-admin/

has an infinite loop but /wp-admin/index.php

works, we could solve it by adding

RewriteEngine On
RewriteBase /
RewriteRule ^wp-admin/$ /wp-admin/index.php [R=302,L]

      



in .htaccess

front of WP rules.

However, this is not the best solution, it works.

0


source







All Articles