• Resolved dhavid

    (@sirmbhe)


    Hi,

    I have a setup that hide my login url using the plugin.
    And now, I am trying to add an extra security layer using http password protect, but it seems didn’t work with my usual code :

    location ^~ wp-login\.php$ {
        auth_basic "Authorization Required";
        auth_basic_user_file /var/www/.htpasswd;
        try_files $uri =404;
        fastcgi_pass php7;
        fastcgi_index  index.php;
        fastcgi_read_timeout 300;
        include fastcgi_params;
    }

    Or do I need to make change of the code?

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Password Protect Login URL’ is closed to new replies.