How to resolve WordPress wp-admin redirected you too many times – ERR_TOO_MANY_REDIRECTS – NGINX

I am using NGINX for WordPress, it works fine however, this does not work when i try to access admin section. Here is the error that I got.


This can be resolved by adding following code

        location /wp-admin/ {
               index index.php;
               try_files $uri $uri/ /index.php$args;

Please restart NGINX after changing the file.


Leave a Reply

Your email address will not be published. Required fields are marked *