• Resolved marcusjott

    (@marcusjott)


    Hi
    we have a protection to secure the admin area.

    <Files wp-login.php>
    AuthType Basic
    AuthName "Protected Area"
    AuthUserFile /var/www/vhosts/........de/httpdocs/.htpasswd
    Require valid-user
    </Files>

    When users want to register in the forum they get the login-window created by the htaccess protection.

    How can we solve that?

    regards marcus

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

    (@asgaros)

    Hello @marcusjott

    Asgaros Forum uses the WordPress login/registration management. For logins the wp-login.php file is used.

    If you use your own page to handle logins you have to modify the login-URL via one of the official WordPress filters. You can check out the following topic for examples:
    https://www.asgaros.de/support/topic/change-urls-login-register-profile-etc/

    Thread Starter marcusjott

    (@marcusjott)

    Hi
    1: we dont use a own page to handle the login
    2: the code we quoted is s standard way to protect the admin-area from attacks
    See §2: https://www.wpbeginner.com/wp-tutorials/11-vital-tips-and-hacks-to-protect-your-wordpress-admin-area/
    3: The problem does not occur when a user wants to register with the woocommerce shop – only with the forum

    Marcus

    Plugin Author Asgaros

    (@asgaros)

    Thats the difference: As far as I know WooCommerce use its own registration/login-forms to provide special shop-related registration/login enhancements.

    Asgaros Forum uses the default WordPress registration/login system which is accessible via yoursite.com/wp-admin/wp-login.php. Granting users access to it does not bring any harm to your website because a normal user has only backend-access to his profile.

    If you dont want that user manage their accounts via the WordPress “backend” you have to use an extension which brings frontend login/registration/profile management.

    Edit: But I plan to implement frontend login/registration forms as well in a future release.

    • This reply was modified 5 years, 11 months ago by Asgaros.
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘users cant register / directory protection via htaccess’ is closed to new replies.