Title: Code always removed automatically in .haccess
Last modified: August 31, 2016

---

# Code always removed automatically in .haccess

 *  [cleve](https://wordpress.org/support/users/elfinh/)
 * (@elfinh)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/code-always-removed-automatically-in-haccess/)
 * Hello,
 * I need help here,
 * Why the following code always removed automatically from .htaccess every time
   I insert it?
 *     ```
       <filesmatch "wp-login.php">
       Satisfy Any
       </filesmatch>
       ```
   
 * Thank you

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

 *  Moderator [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/)
 * (@sterndata)
 * Volunteer Forum Moderator
 * [10 years, 1 month ago](https://wordpress.org/support/topic/code-always-removed-automatically-in-haccess/#post-7362710)
 * Are you adding before/after the WordPress section? If so, then you should check
   with your host to see if they do anything to your .htaccess.
 * What is it you’re trying to accomplish with that snippet?
 *  Thread Starter [cleve](https://wordpress.org/support/users/elfinh/)
 * (@elfinh)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/code-always-removed-automatically-in-haccess/#post-7362713)
 * I add it just before #END wordpress
    Or maybe I should put it after #END wordpress?
 * I put it to avoid captcha password everytime I try to login
 *  Moderator [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/)
 * (@sterndata)
 * Volunteer Forum Moderator
 * [10 years, 1 month ago](https://wordpress.org/support/topic/code-always-removed-automatically-in-haccess/#post-7362715)
 * Put it before the “begin wordpress” section.
 * What captcha? Is that something your host is adding? Or a plugin you’re using?
   WordPress itself does not put a captcha at login.
 *  Thread Starter [cleve](https://wordpress.org/support/users/elfinh/)
 * (@elfinh)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/code-always-removed-automatically-in-haccess/#post-7362834)
 * It’s put by my host to prevent brute attack on wordpress.
 * What’s the difference if I put the code before and after the wordpress section?
 *  Moderator [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/)
 * (@sterndata)
 * Volunteer Forum Moderator
 * [10 years, 1 month ago](https://wordpress.org/support/topic/code-always-removed-automatically-in-haccess/#post-7362835)
 * as long as its not IN the wordpress section you’re OK.
 *  Thread Starter [cleve](https://wordpress.org/support/users/elfinh/)
 * (@elfinh)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/code-always-removed-automatically-in-haccess/#post-7362836)
 * Ok, thanks a lot for the help. Hope this also can solve for anyone who has the
   same problem and read this post.

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

The topic ‘Code always removed automatically in .haccess’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 6 replies
 * 2 participants
 * Last reply from: [cleve](https://wordpress.org/support/users/elfinh/)
 * Last activity: [10 years, 1 month ago](https://wordpress.org/support/topic/code-always-removed-automatically-in-haccess/#post-7362836)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
