Title: [Plugin: WP-Ban] Needs optimising
Last modified: August 19, 2016

---

# [Plugin: WP-Ban] Needs optimising

 *  [David Miller](https://wordpress.org/support/users/david_miller/)
 * (@david_miller)
 * [15 years, 4 months ago](https://wordpress.org/support/topic/plugin-wp-ban-needs-optimising/)
 * I have been using this for a while and have been adding the ip address of every
   spam comment to it. It works great, but with the amount of ip addreses it searches
   through each time a page is loaded, it makes wordpress go very slow, some times
   taking up to 20 seconds to load a page!

Viewing 1 replies (of 1 total)

 *  [Alwyn Botha](https://wordpress.org/support/users/123milliseconds/)
 * (@123milliseconds)
 * [15 years, 3 months ago](https://wordpress.org/support/topic/plugin-wp-ban-needs-optimising/#post-1863087)
 * I think it might be 100 times ??? faster to let your server block ip
 * address, not PHP code
 * [http://www.webmasterworld.com/forum92/3947.htm](http://www.webmasterworld.com/forum92/3947.htm)
 * Search google on
 * how block IP addresses with apache
 * for how to do it.

Viewing 1 replies (of 1 total)

The topic ‘[Plugin: WP-Ban] Needs optimising’ is closed to new replies.

 * ![](https://ps.w.org/wp-ban/assets/icon.svg?rev=978059)
 * [WP-Ban](https://wordpress.org/plugins/wp-ban/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-ban/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-ban/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-ban/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-ban/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-ban/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Alwyn Botha](https://wordpress.org/support/users/123milliseconds/)
 * Last activity: [15 years, 3 months ago](https://wordpress.org/support/topic/plugin-wp-ban-needs-optimising/#post-1863087)
 * Status: not resolved