• OK, I must be missing something really simple here. I have a very basic .htaccess file in my /wp-admin/ folder. With this .htaccess file there I get the wordpress 404 page when trying to access any dashboard or admin interface page.

    I’d really like suggestions on what’s causing this. Here is the .htaccess file in my wp-admin folder:

    order allow deny
    deny from all
    allow from zz.zzz.zzz.zzz (IP I use)
    allow from zz.zzz.zzz.zzz (IP I use)
    AuthType Basic
    AuthName “wp-admin”
    AuthUserFile “/home/zzzzzzz/.htpasswds/public_html/wp-admin/passwd”
    require valid-user

    And I also have a .htaccess in my web root that’s pretty basic too:

    <Files 403.shtml>
    order allow,deny
    allow from all
    </Files>

    deny from 2.88.121.97 (leaving ip kuz they are jerks)
    deny from 2.88.0.0/16 (leaving ip kuz they are jerks)

    # 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

Viewing 1 replies (of 1 total)
  • I’d try removing these lines:

    order allow deny
    deny from all
    allow from zz.zzz.zzz.zzz (IP I use)
    allow from zz.zzz.zzz.zzz (IP I use)
Viewing 1 replies (of 1 total)
  • The topic ‘wp-admin and .htaccess file help’ is closed to new replies.