Home Forums WoodMart support forum Admin login page new url, but htpasswd not works

Admin login page new url, but htpasswd not works

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #464956

    basset93
    Participant

    Hello!

    My problem is that I protected the wp-admin folder via .htacces and .htpasswd. It works fine, but in the frontend, when customers click on the forgot password link in the account page, the remember password page come in, but it shows “Password protected area” like the admin backend pages.

    I use this .htpasswd:

    AuthName “Admins Only”
    AuthUserFile /home/xxxxxx/public_html/wp-admin/.htpasswd
    AuthGroupFile /dev/null
    AuthType basic
    require user xxxx

    <Files admin-ajax.php>
    Order allow,deny
    Allow from all
    Satisfy any
    </Files>

    ErrorDocument 401 default

    Now It’s mysite.com/fiokom/lost-password/ the URL. But this URL is the same in the frontend and the backend. Same for the visitors and the admins. I think this is the problem, because the admin page is protected with htpasswd, but the visitor URL is the same as the admins, so in the frontend it will ask for hptasswd, ’cause of the same URL with the admin page.

    #465032

    Hello,

    Thank you very much for choosing our theme and for contacting us.

    Please make the full backup of your site and check the issue on the Storefront theme to detect if our theme causes the problem. Storefront is a free theme developed by WooСommerce.

    Best Regards

Viewing 2 posts - 1 through 2 (of 2 total)