Hi Folks, I'm trying to increase security on a new installation of Wordpress Version 3.2.1 but have run into an issue when password protecting the wp-admin folder.
Problem after password protecting wp-admin folder
11
Hi Folks,
I'm trying to increase security on a new installation of Wordpress Version 3.2.1 but have run into an issue when password protecting the wp-admin folder.
I've raised the issue on the WP support forum, but the post got burried quickly before any responses. So I'm unlikely to get any help from there now.
After installing Wordpress into the root of the domain (public_html) I password protected the folder wp-admin. Now when browsing to that directory I get a "page not found" result, as you can see here - http://www.seohertfordshire.biz/wp-admin/ So unless I remove the password protection I can't login.
There are currently no plugins activated, and the only change I've made is to set custom permalinks /%category%/%postname%/ and specify "not to be listed by search engines"
From what I've managed to find out, the issue appears to have something to do with the .htaccess file. My attempts to edit the file are so far unsuccessful.
I have created and uploaded three extra files 401.html 403.html and 404.html in the root folder and have edited the .htaccess as follows -
This hasn't solved the problem though, and I'm way out of my depth with .htaccess to know what else to try.
I'm hoping a fellow warrior who may have already solved this issue for themselves can advise. Or an expert with .htaccess can see where I'm going wrong?
Many thanks,
Myles
I'm trying to increase security on a new installation of Wordpress Version 3.2.1 but have run into an issue when password protecting the wp-admin folder.
I've raised the issue on the WP support forum, but the post got burried quickly before any responses. So I'm unlikely to get any help from there now.
After installing Wordpress into the root of the domain (public_html) I password protected the folder wp-admin. Now when browsing to that directory I get a "page not found" result, as you can see here - http://www.seohertfordshire.biz/wp-admin/ So unless I remove the password protection I can't login.
There are currently no plugins activated, and the only change I've made is to set custom permalinks /%category%/%postname%/ and specify "not to be listed by search engines"
From what I've managed to find out, the issue appears to have something to do with the .htaccess file. My attempts to edit the file are so far unsuccessful.
I have created and uploaded three extra files 401.html 403.html and 404.html in the root folder and have edited the .htaccess as follows -
Code:
IndexIgnore .htaccess */.??* *~ *# */HEADER* */README* */_vti*
<Limit GET POST>
order deny,allow
deny from all
allow from all
</Limit>
<Limit PUT DELETE>
order deny,allow
deny from all
</Limit>
AuthName seohertfordshire.biz
# BEGIN WordPress
ErrorDocument 401 /home/seohertf/public_html/401.html
ErrorDocument 403 /home/seohertf/public_html/403.html
ErrorDocument 404 /home/seohertf/public_html/404.html
<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 I'm hoping a fellow warrior who may have already solved this issue for themselves can advise. Or an expert with .htaccess can see where I'm going wrong?
Many thanks,
Myles
- SteveJohnson
- [ 1 ] Thanks
- [1] reply
- Myles Sinclair
- kokopelli
- [ 1 ] Thanks
- Terry Crim
- [ 1 ] Thanks
- Myles Sinclair
- SteveJohnson
- [ 1 ] Thanks
- MelodyChristie
- [ 1 ] Thanks
- [1] reply
- Myles Sinclair
Next Topics on Trending Feed
-
11