Title: IP blacklist question
Last modified: August 30, 2016

---

# IP blacklist question

 *  Resolved [batteriesInc](https://wordpress.org/support/users/batteriesinc/)
 * (@batteriesinc)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/ip-blacklist-question/)
 * Hi,
 * I noticed that in `.htaccess`, AIOWPS inserts this sequence:
 * `#AIOWPS_IP_BLACKLIST_START`
    `Order allow,deny` `Allow from all` `Deny from 
   123.123.123.123`
 * Apologies if I have this backwards, but doesn’t Apache stop parsing when it has
   a hit? Should the “`Allow from all`” not be below all “`deny from`” entries, 
   or does the sequence not matter?
 * Cheers!
 * [https://wordpress.org/plugins/all-in-one-wp-security-and-firewall/](https://wordpress.org/plugins/all-in-one-wp-security-and-firewall/)

Viewing 1 replies (of 1 total)

 *  Plugin Contributor [wpsolutions](https://wordpress.org/support/users/wpsolutions/)
 * (@wpsolutions)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/ip-blacklist-question/#post-6206884)
 * Hi,
    Yes the sequence does matter. The apache directives used by AIOWPS is the
   correct way to block specific IP addresses. If you are having any specific problems
   with this please let us know the details of your issues.

Viewing 1 replies (of 1 total)

The topic ‘IP blacklist question’ is closed to new replies.

 * ![](https://ps.w.org/all-in-one-wp-security-and-firewall/assets/icon-256x256.
   png?rev=2798307)
 * [All-In-One Security (AIOS) – Security and Firewall](https://wordpress.org/plugins/all-in-one-wp-security-and-firewall/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/all-in-one-wp-security-and-firewall/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/all-in-one-wp-security-and-firewall/)
 * [Active Topics](https://wordpress.org/support/plugin/all-in-one-wp-security-and-firewall/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/all-in-one-wp-security-and-firewall/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/all-in-one-wp-security-and-firewall/reviews/)

## Tags

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

 * 1 reply
 * 2 participants
 * Last reply from: [wpsolutions](https://wordpress.org/support/users/wpsolutions/)
 * Last activity: [10 years, 11 months ago](https://wordpress.org/support/topic/ip-blacklist-question/#post-6206884)
 * Status: resolved