Get the most out of your Centmin Mod LEMP stack
Become a Member

Getting http auth prompt on a non wp-admin dir

Discussion in 'Blogs & CMS usage' started by enderst, Nov 21, 2018.

  1. enderst

    enderst Member

    38
    7
    8
    Dec 12, 2017
    Ratings:
    +10
    Local Time:
    10:18 PM
    Like the subject says getting http auth prompt on a non wp-admin dir. Created a password protected page in /log-in/ but getting prompted for http auth like I'm accessing /wp-admin/. Is there any way for me to make that stop and keep http auth protection for /wp-admin/?

     
  2. eva2000

    eva2000 Administrator Staff Member

    58,893
    12,490
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +19,122
    Local Time:
    2:18 PM
    Nginx 1.31.x
    MariaDB 10.x/11.4+/12.3+
    did you rename your wp-login.php to /log-in ? as wp login redirects to wp-admin so you will get the prompt if wp-admin is HTTP password protected
     
  3. enderst

    enderst Member

    38
    7
    8
    Dec 12, 2017
    Ratings:
    +10
    Local Time:
    10:18 PM
    Thanks for the heads up. I forgot about the redirect. That was exactly the issue. There is a page that is password protected using wp-login.php to authenticate.