problem solved
wp-admin .htaccess
ErrorDocument 401 default
AuthType Basic
AuthName "Restricted Area"
AuthUserFile /home/admin/domains/*****.info/public_html/wp-admin/.htpasswd
require valid-user
main .htaccess in domain root
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress
Same problem!
Please advice
The same problem.
I have installed .htaccess into the folder wp-admin
When i’m trying to get to http://myblog.com/wp-admin – WP redirects me to 404 page.
The server is running CentOS + DirectAdmin. On all servers running DirectAdmin i got THE SAME!! problem. On other servers without DirectAdmin all is OK.
I tried to rebuild Apache (2.0 \ 2.2) all the same.
Please Help, i really need the directory wp-admin password protected.