Redirect loop when trying to login to /wp-admin/ [duplicate]
I found a solution. In wp-config.php add: define(‘FORCE_SSL_ADMIN’, false); In my situation, I migrated to https from http, and use plugin Rename wp-login.php My wp-config.php contained the lines: define(‘WP_SITEURL’,’https://example.com’); define(‘WP_HOME’,’https://example.com’); Without the line define(‘FORCE_SSL_ADMIN’, false);, a redirect loop occurs.