Support » Fixing WordPress » Error 404 – Not Found occurs with htaccess password protection

  • I get an “Error 404 – Not Found” when I password protect my wp-admin folder using the .htaccess file. Any ideas?

    ht access file looks like this:

    AuthType Basic
    AuthName “Restricted Area”
    AuthUserFile “password location”
    require valid-user

    I am using WordPress 2.0 – it worked fine in 1.5.2.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Also getting this, but for another subdir (not /wp-admin/). :~

    It is because of the rewrite engine conditions specified in the .htaccess file in your main wordpress directory. I am having the same problem. Take out the rewrite conditions and then it works flawlessly but then wordpress wont display it’s nice little page whenever there is a 404 error.

    Is there a way around this, to keep using the rewrite conditions but to get .htaccess files in subdirectories under the main one to work???

    I’m having the same problem, I’d love to hear if anyone’s found the solution.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Error 404 – Not Found occurs with htaccess password protection’ is closed to new replies.