Title: Block / timeout IP after x 404 errors
Last modified: August 31, 2016

---

# Block / timeout IP after x 404 errors

 *  Resolved [c0c0c0](https://wordpress.org/support/users/c0c0c0/)
 * (@c0c0c0)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/block-timeout-ip-after-x-404-errors/)
 * Hello, I would like the ability to block or timeout after 10 or 20 404s, I get
   a lot of script kiddies scanning my wordpress pages for nonexistent plugins/ 
   login pages and causes pages of logs/hits. Thanks
 * [https://wordpress.org/plugins/bulletproof-security/](https://wordpress.org/plugins/bulletproof-security/)

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Plugin Author [AITpro](https://wordpress.org/support/users/aitpro/)
 * (@aitpro)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/block-timeout-ip-after-x-404-errors/#post-7118917)
 * Yes, that is very common (hacker/spammer probing/scanning/recon) and goes on 
   all day, every day and will go on until the end of time. You do not have to do
   anything about this type of stuff (hacker/spammer probing/scanning/recon) since
   it does not hurt your website/server, SEO, performance or anything else in any
   significant way. We have looked at/researched if this type of feature would be
   useful and decided it is not worth the effort required to create since these 
   very common (hacker/spammer probing/scanning/recon) methods do not affect anything
   negatively.
 *  Thread Starter [c0c0c0](https://wordpress.org/support/users/c0c0c0/)
 * (@c0c0c0)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/block-timeout-ip-after-x-404-errors/#post-7119038)
 * It mucks up my logs and is a time killer. That is what is the negative in not
   being able to block them.
 *  Plugin Author [AITpro](https://wordpress.org/support/users/aitpro/)
 * (@aitpro)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/block-timeout-ip-after-x-404-errors/#post-7119039)
 * Well you can block by the Request URI|URL, but that could also be a time consuming
   thing to do.
 * Example:
    fckeditor is a very common hacker/spammer random probe/recon URI. So
   you could add redirect code and redirect that Request URI to the BPS 403 logging
   template using code like this below in BPS Custom Code in the bottom text box.
 *     ```
       RedirectMatch 403 ^/(fckeditor|some-other-URI|another-URI)$
       RedirectMatch 403 ^/fckeditor(.*)$
       ```
   
 * Other examples:
    [http://stackoverflow.com/questions/9796687/redirectmatch-403-need-to-have-an-exception-for-1-url-in-htaccess](http://stackoverflow.com/questions/9796687/redirectmatch-403-need-to-have-an-exception-for-1-url-in-htaccess)
   [http://stackoverflow.com/questions/22769790/redirect-all-apache-2-2-403-forbidden-to-404-not-found](http://stackoverflow.com/questions/22769790/redirect-all-apache-2-2-403-forbidden-to-404-not-found)
 *  Plugin Author [AITpro](https://wordpress.org/support/users/aitpro/)
 * (@aitpro)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/block-timeout-ip-after-x-404-errors/#post-7119122)
 * Assuming all questions have been answered – the thread has been resolved. If 
   you have additional questions about this specific thread topic then you can post
   them at any time. We still receive email notifications when threads have been
   resolved.
 * Thread Start Date: 2-27-2016 to 2-28-2016
    Thread Resolved/Current Date: 3-2-
   2016

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Block / timeout IP after x 404 errors’ is closed to new replies.

 * ![](https://ps.w.org/bulletproof-security/assets/icon-128x128.png?rev=1731938)
 * [BulletProof Security](https://wordpress.org/plugins/bulletproof-security/)
 * [Support Threads](https://wordpress.org/support/plugin/bulletproof-security/)
 * [Active Topics](https://wordpress.org/support/plugin/bulletproof-security/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/bulletproof-security/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/bulletproof-security/reviews/)

## Tags

 * [block IP](https://wordpress.org/support/topic-tag/block-ip/)

 * 4 replies
 * 2 participants
 * Last reply from: [AITpro](https://wordpress.org/support/users/aitpro/)
 * Last activity: [10 years, 3 months ago](https://wordpress.org/support/topic/block-timeout-ip-after-x-404-errors/#post-7119122)
 * Status: resolved