.htaccess/.htpassword interfering with wordpress
-
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 ErrorThe 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 WordPressAm I missing something? How can I resolve this?
- The topic ‘.htaccess/.htpassword interfering with wordpress’ is closed to new replies.