• I am trying to password protect my website with .htaccess/.htpassword so I can hide it while working on it. The problem is that when I try to do this and login I get an redirected to this:


    Internal Server Error

    The server encountered an internal error or misconfiguration and was unable to complete your request.

    Please contact the server administrator and inform them of the time the error occurred, and anything you might have done that may have caused the error.

    More information about this error may be available in the server error log.

    This is what I have in my .htaccess:

    AuthUserFile /.htpassword
    AuthType Basic
    AuthName “Under Construction. Please check back soon.”
    Require valid-user
    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ – [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
    # END WordPress

    Am I missing something? How can I resolve this?

Viewing 1 replies (of 1 total)
  • Moderator Kathryn Presner

    (@zoonini)

    Can you try setting up password-protection using your web hosting control panel rather than editing your files manually?

Viewing 1 replies (of 1 total)
  • The topic ‘.htaccess/.htpassword interfering with wordpress’ is closed to new replies.