Comment blacklisting works well, but what if you actually want to stop someone from even reading your blog? This plugin will take care of that for you.
It uses .htaccess file modifications to deny access to your blog from particular IP addresses (Deny from) and then follows up with an ErrorDocument 403 redirect to a URL of your choice. It doesn’t hook into WordPress, which makes it a lot faster due to no database or PHP calls.
- Will this overwrite my existing .htaccess additions?
No, this plugin will only append its own rules to the file, and will not remove existing content.
- I’ve messed something up and now I’ve blocked myself out of my blog, help!
Simply edit the .htaccess file manually via FTP or directly on the server, and remove everything between the “# start wp-block” and “# end wp-block” code blocks.