Redirection depends on server configuration. You need to add
ErrorDocument 401 default
to your main .htaccess to prevent redirection.
You can refer the article Password-protect-wp-admin for more details
Redirection depends on server configuration. You need to add
ErrorDocument 401 default
to your main .htaccess to prevent redirection.
You can refer the article Password-protect-wp-admin for more details