Webinoly is just the perfect tool for NGINX experts. Give it a try!
0 votes
by Rookie
Hi all,

After I enabled HTTP Auth to protect wp-admin area, ever time when I try to login to my WordPress sites, it automatically redirect to wp-login.php page. I face this issue only on desktop, but on Android mobile there's no such a issue.

Thanks in advance.

I think it's a cookie error, add some of the code below to the wp-config.php file to handle this

define(‘ADMIN_COOKIE_PATH’, ‘/’);

define(‘COOKIE_DOMAIN’, ”);

define(‘COOKIEPATH’, ”);

define(‘SITECOOKIEPATH’, ”);

Clear OPcache and try agan

1 Answer

0 votes
by Expert
Please, try different browsers, incognito mode, etc. maybe you are just having browser cache issues and it's not related with your server.
I am also facing the same problem.

Whenever a user click on logout It's asking for httpauth username and password. How can I manage this. URL hitting while clicking on Logout.

Welcome to the Community site for Webinoly.

Our Optimized LEMP Web Server is a powerful set of commands for doing just about anything you could wish.

With Webinoly you can set up your NGINX web server in just one step.

* * * * * * *

To report a bug, please create a new issue on GitHub or ask a question here with the bug tag.
Webinoly Support Paypal Donations

PayPal · GitHub Sponsors · Bitcoin

It is very important that any visitor to the site read the disclaimer, terms of use and privacy and legal statement before start browsing.