WordPress

Block WordPress Admin By IP

WordPress security is a massive problem, because of WordPress being such a popular blogging platform it is used by millions of sites around the world. If someone is able to get access to your Admin area then they will be able to do anything on your site including deleting posts, changing passwords or shutting down your entire site.

It's always essential that you do as much as you can to tighten up security to your admin area.

Here is example of using htaccess which will block access to your admin area by anyone which is not using a certain IP address. Create a new htaccess file and place it at the top level of your wp-admin folder.

order deny,allow
allow from MY IP ADDRESS (replace with your IP address)

Please note that if you have a dynamic IP address then you will have to change this file each time you want to access the admin area.

Back to top ^

Join Paulund

  • Get access to 100s of premium tutorials and downloadable content
  • Members content consists of Premium WordPress plugins, CSS packages, jQuery packages, tutorial demo files and templates for 100s of web development tutorials
  • In-depth development tutorials
  • Priority tutorial requests
  • Priority email development support
  • No ads

Here at Paulund you'll find Web Development tutorials and snippets focusing mainly on PHP, WordPress and CSS. Members will get access to premium tutorials that go into more detail about development with these languages. You will also get access to downloadable premium content based on the tutorial.

Join Paulund

Leave a Reply

Your email address will not be published. Required fields are marked *