Join the community today
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 New Member

    25
    5
    3
    Dec 12, 2017
    Ratings:
    +8
    Local Time:
    10:21 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

    39,832
    8,788
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +13,527
    Local Time:
    2:21 PM
    Nginx 1.15.x
    MariaDB 5.5/10.x
    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 New Member

    25
    5
    3
    Dec 12, 2017
    Ratings:
    +8
    Local Time:
    10:21 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.
     
..