• Dear Pleskians! The Plesk Forum will be undergoing scheduled maintenance on Monday, 7th of July, at 9:00 AM UTC. The expected maintenance window is 2 hours.
    Thank you in advance for your patience and understanding on the matter.

Issue WordPress Too Many Redirect on WP-Admin directory

Naveed A. Khan

New Pleskian
Server operating system version
Ubuntu 20.04.4 LTS
Plesk version and microupdate number
Plesk Obsidian 18.0.45 Update 2
I am getting ERR_TOO_MANY_REDIRECTS on my WordPress Admin URL/Dashboard. The rest of the website works just fine, the only issue is I can't login to my WP Dashboard.

I am using nginx only configuration with FPM served by nginx. It works fine in proxy mode!

ERR_TOO_MANY_REDIRECTS on HowtoHow.org

For permalinks I convert my htaccess to this nginix directives:

Code:
if (!-f $request_filename){
    set $rule_2 1$rule_2;
}
if (!-d $request_filename){
    set $rule_2 2$rule_2;
}
if ($rule_2 = "21"){
    rewrite /. /index.php last;
}
 
Why did you have to rewrite the permalink rules in the .htaccess file to nginx rules? The WordPress Toolkit should take care of that by default.
If it didn't work, make sure the Custom Errors docs option is disabled:

 
Back
Top