We always recommend add as many protections as you can on scripts like WP, where probably, is in the first position of targeted attack sites. So to add one more protection layer simply Password Protect the wp-admin directory as instructed in the video tutorial below.
This will add a double protection to your wp-admin section.
If after protecting the directory you are not able to load the url and is returning an error like, "404" Error or a "Too many redirects" error. Simply edit the main .htaccess in your WP installation directory and add the following in the first line:
ErrorDocument 401 default
Fixing the Admin Ajax Issue
If you password protect the wp-admin directory, then it will break the Ajax functionality in the front-end. If you have no plugins using Ajax in the frontend then you are safe, but if you are using any plugin with Ajax then add the following code in the .htaccess file in the /wp-admin/ directory:
Allow from all
This should do the trick!
- 0 Users Found This Useful
How can i change the MySQL characters encoding to UTF8?
By default the encoding is latin1 but you could try to workaround your code. To change the...Oscommerce is showing a blank page in the categories pages
If you made no changes in your account or oscommerce script and this happened suddenly then there...I have the register_globals disabled server wide, how can i enable it in my account?
This option is available in all our shared cPanel hosting accounts.Please note if your script is...How could i change the PHP encoding in my scripts?
You could try changing it sending the headers in your php code, i.e.: header('Vary:...How do i parse .html files as .shtml (SSI)?
You can add the following line in your .htaccess file: AddHandler server-parsed .html or...