• Resolved Graham

    (@sandgroper)


    I use the common practice of password protecting my login page using cPanel. This adds a .htaccess file to wp-admin, and you have to specifically allow a bypass for admin-ajax.php.

    When I installed the forum, I could not use the forum without triggering the password protection pop-up box.

    Since there is no one file that needs to be given bypass permission, I Googled how to enable a bypass for a whole directory. I finally got it to work by adding this to the .htaccess file:

    <Directory "/public_html/wp-content/plugins/asgaros-forum/">
        Order allow,deny
        Allow from all
        Satisfy Any
    </Directory>

    Thought I would share this in case someone else is in the same position.

    So far I like what I have seen with this forum. Very light on resources.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Asgaros

    (@asgaros)

    Hello @sandgroper

    Thank you for your tip! Maybe this could be really helpful for other users.

    To understand it completely: You are protecting your wp-admin folder with a password and the passwort protection also appears when using the forum normally in the front-end?

    Thread Starter Graham

    (@sandgroper)

    Yes. Trying to drill down into categories in the front end as a visitor triggered the password protection pop-up.

    Tried it with and without the .htaccess mod and it definitely fixed it.

    Plugin Author Asgaros

    (@asgaros)

    Okay, good to know. Maybe some of the core-functions accessing some admin-logics as well which are responsible for this behavior. Thanks again for the info! ??

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Bypassing Login Password Protection’ is closed to new replies.