• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

QUESTION htpasswd

StPabst

New member
Messages
1
Likes
0
Points
1
#1
Hello,
i use the password protection with htpasswd as protection for wp-login.php. If I now select the Hide Login Page function, then the htpasswd protection does not work. Is it necessary or feasible to protect the hide login page path with htaccess and htpasswd? Thanks in advance.
Best regards,
Stefan
 

alexkovalev

Program developer
Staff member
Messages
267
Likes
19
Points
18
#2
Hi,

You can block not wp-login.php using htpassword, but wp-admin. In this case, you can change the login page to an custom slug, and when you try to redirect you to wp-admin, you will additionally enter the password that is set on your server.

If you want to block login page through the htpassword, then you need to change the rules in the htaccess file. It is not advisable to block the login page, as there are other authorization methods. But if you block access to wp-admin, then this ensures that the user will not be able to get into your admin panel without additional authorization.

Best regards, Alex