• Resolved Neverlands

    (@neverlands)


    Hello,
    as soon as I activate WP Security the does not work any more.

    Example:

    <IfModule mod_rewrite.c>
    RewriteEngine On
    AuthType Basic
    AuthName "Demo"
    AuthUserFile /var/www/vhosts/mydomain.at/httpdocs/wp-path/.htpasswd
    Require valid-user
    </IfModule>
Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Contributor wpsolutions

    (@wpsolutions)

    What happens when you try adding your code inside the custom rules settings tab?

    Thread Starter Neverlands

    (@neverlands)

    I’ve already tried this too – with both options at the beginning or at the end.
    But it didn’t change anything, the PW protection is not working.

    Thread Starter Neverlands

    (@neverlands)

    Do you have another advice?

    Plugin Contributor wpsolutions

    (@wpsolutions)

    If you have the 6G rules enabled, then maybe the line “Require all Granted” is causing that. Try a couple of tests by disabling 6G to see if your .htaccess password starts to work.

    Thread Starter Neverlands

    (@neverlands)

    Disabling 6G seems to work.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘htaccess password protection not working’ is closed to new replies.