Protect WordPress Admin Drucken

  • 42

Defeat attacks from eating up your server’s CPU and prevent attackers from getting access to your WordPress wp-admin directory with one simple htaccess entry.

If you don’t have a .htaccess file (yes that starts with a dot in front of htaccess) upload a new one.  If you do, add this entry to the top of your .htaccess file:

site.com/wp-admin/.htaccess

#Begin block
Order Deny,Allow
Deny from all
Allow from 55.55.55.55
Allow from 44.44.44.44
#End block

Replace the example IPs with your own. Two examples are provided to illustrate how to add more than one IP. These ips are real in general and are only provided as an example. Use of improper IPs will result in a server producing an internal error, such as > Allow from 444.444.444.444.

Keywords: attack, access, admin, CPU, details

War diese Antwort hilfreich?

« Zurück