0 votes
48 views
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.
by

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.
Welcome to the Community site for Webinoly.

If you have a question about Webinoly, please ask in English or Spanish.

To report a bug, please ask a question here with the bug tag.

News: Now you can use any external SMTP service in your server. All the server outgoing emails from any of your websites will be sent through this service.

Donations

Webinoly Support Paypal Donations Webinoly Support Bitcoin Donations

Your regular donations is what keep this project moving forward. If you like Webinoly, buy me a coffee or a beer to show support.

Affiliate Links

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

...