Title: .htaccess rules
Last modified: June 29, 2023

---

# .htaccess rules

 *  Resolved [eddie](https://wordpress.org/support/users/ediet/)
 * (@ediet)
 * [2 years, 11 months ago](https://wordpress.org/support/topic/htaccess-rules-3/)
 * Why does your plugin always put its rules at the very top of .htaccess? While
   displacing all existing rules below.
 * I have more important rules at the top. After your plugin shifts them below theirs,
   the site begins to work incorrectly. And if I didn’t check and manually move 
   your rules down, I will find out about the problems already in Google Search 
   Console.
 * Stop doing that! All normal plugins place their rules at the bottom. Or give 
   me an option to set your plugin rules to be placed at the bottom.
 * You will now naturally say that this is done for security purposes. But there
   are more important rules than your plugin’s. And the plugin starts to break the
   site.

Viewing 1 replies (of 1 total)

 *  Plugin Support [hjogiupdraftplus](https://wordpress.org/support/users/hjogiupdraftplus/)
 * (@hjogiupdraftplus)
 * [2 years, 11 months ago](https://wordpress.org/support/topic/htaccess-rules-3/#post-16858284)
 * Hi [@ediet](https://wordpress.org/support/users/ediet/)
 * Thanks for raising this issue, I will create internal ticket for this.
 * Mean while as tweak If you add those rules in WP Security > Firewall > Custom
   rules tab – Enable custom rules and there is option “Place custom rules at the
   top:” It will put all your rules on top of AIOS plugin rules.
 * [https://snipboard.io/nHY5fT.jpg](https://snipboard.io/nHY5fT.jpg)
 * Regards

Viewing 1 replies (of 1 total)

The topic ‘.htaccess rules’ 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/)

 * 1 reply
 * 2 participants
 * Last reply from: [hjogiupdraftplus](https://wordpress.org/support/users/hjogiupdraftplus/)
 * Last activity: [2 years, 11 months ago](https://wordpress.org/support/topic/htaccess-rules-3/#post-16858284)
 * Status: resolved