Welcome to Centmin Mod Community
Register Now

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

    16
    3
    3
    Dec 12, 2017
    Ratings:
    +5
    Local Time:
    1:17 AM
    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

    37,230
    8,134
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +12,523
    Local Time:
    6:17 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

    16
    3
    3
    Dec 12, 2017
    Ratings:
    +5
    Local Time:
    1:17 AM
    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.
     
..