Title: .htaccess keeps changing?
Last modified: August 24, 2016

---

# .htaccess keeps changing?

 *  [Teunel](https://wordpress.org/support/users/teunel/)
 * (@teunel)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/htaccess-keeps-changing-1/)
 * For some reason, the .htaccess in my directory keeps changing, whenever I visit
   my website.
 * I think this is an issue with WordPress, since it resets to the “default” htaccess
   for WordPress, even though I have other custom rules in there. The permissions
   of the file are set to 444 though, but it keeps resetting.
 * What could be the issue here?

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

 *  [accuwebhosting](https://wordpress.org/support/users/accuwebhosting/)
 * (@accuwebhosting)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/htaccess-keeps-changing-1/#post-6178794)
 * Hi,
 * Have you written your custom rules Inside the WordPress section ( between #BEGIN
   WordPress #End WordPress ) of the .htaccess?
 * Please note that your custom rules should not be inside #BEGIN WordPress and #
   End WordPress to avoid WordPress rewriting these rules.
 * Thanks,
 *  Thread Starter [Teunel](https://wordpress.org/support/users/teunel/)
 * (@teunel)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/htaccess-keeps-changing-1/#post-6178795)
 * Hi,
 * No, the custom rules were written above all other rules, even above the #BEGIN
   WordPress line.
 *  [accuwebhosting](https://wordpress.org/support/users/accuwebhosting/)
 * (@accuwebhosting)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/htaccess-keeps-changing-1/#post-6178804)
 * Hi.
 * Please make sure that permalink settings have not been changed recently.
 * If you have installed/activated better wp security plugin, WP Security/BulletProof
   Security or any other security plugin then deactivate them and then have a try.
 * Try deactivating All Plugins you have installed. Once you have deactivated all
   plugins, activate them one by one to determine plugin related issue.
 * Revert Back to the Default Theme and then have a try if .htaccess is being changed.
 * Also, WordPress does not change the chmod itself, hence, you can also contact
   your webhost for this. They would be the first to look into this, to see if a
   server configuration is responsible.
 * Thanks,

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

The topic ‘.htaccess keeps changing?’ is closed to new replies.

## Tags

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

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 2 participants
 * Last reply from: [accuwebhosting](https://wordpress.org/support/users/accuwebhosting/)
 * Last activity: [10 years, 11 months ago](https://wordpress.org/support/topic/htaccess-keeps-changing-1/#post-6178804)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
