Title: .htaccess auto reset&#8230;
Last modified: August 21, 2016

---

# .htaccess auto reset…

 *  [syckness87](https://wordpress.org/support/users/syckness87/)
 * (@syckness87)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/htaccess-auto-reset/)
 * Hey there,
 * I’ve been having a huge problem since yesterday.
 * I’ve got a WordPress blog for 2 years now, last week I updated to WordPress 3.6
   and everything went well.
    Yesterday I changed my theme (bought on Themeforest)
   after 2 years with the old one. Of course I deactivated all plugins to avoid 
   any bugs. I also created a _child theme_ to add some style.css, no problem. All
   day long I checked if everything was ok and my blog actually looked great ! I
   reactivate all my plugins one by one, except my cache plugins (WP Supercache 
   et DB Cache Reloaded Fix)
 * While surfing on my website I suddenly had a 500 Error. I knew it was a .htaccess
   issue (I’ve never had any issue until then), so I deleted it, just to see what
   would happen. I then got this message :
 * > Your server is running PHP version 4.4.9 but WordPress 3.3.1 requires at least
   > 5.2.4.
 * First time of my life I got this kind of message, so I just upload a new .htaccess
   with this :
 * > SetEnv PHP_VER 5_4
   > # BEGIN WordPress
   >  <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / 
   > RewriteRule ^index\.php$ – [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond%{
   > REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </IfModule>
   > # END WordPress
 * The website is back… Hooray ! However, after a few minutes surfing I got the 
   same message once again, about the php version… I connect to my FTP to check 
   if .htaccess is still here, but surprise : the first line **SetEnv PHP_VER 5_4**
   got deleted…
    So I put this line once again and the website gets back. But a 
   few other minutes, and the problem occurs again, and again…
 * I eventually went to bed, feeling nervous about it and not knowing if the website
   was still online… This morning everything seemed fine so there was no problem
   during the night.
 * However, I edited a post this morning and the bug occured once again : always
   the same line removed…
 * So I chose to reactivate my cache plugins (WP Supercache et DB Cache Reloaded
   Fix) to see what happens, and upload a .htaccess backup from last week (the one
   I’ve been using for 2 years…)
 * This .htaccess is filled with Compression data (# MOD_DEFLATE COMPRESSION), Expire
   headers (# BEGIN Expire headers), cache (# BEGIN WPSuperCache), files protect…
   I can post its content here but it’s quite huge.
 * Everything goes back to normal, but a few minutes later same issue : .htaccess
   reset and website is offline. Still this message getting back :
 * > Your server is running PHP version 4.4.9 but WordPress 3.3.1 requires at least
   > 5.2.4.
 * Do you know any idea of what’s going on ?
 * **More info** :
    _.htaccess Attributes_ : 604 _Theme_ : Worldwide (child theme)
   _WordPress_ : 3.6 _Plugins_ : Akismet, Anti-spam, BulletProof Security, DB Cache
   Reloaded Fix, Do Follow, Google Analytics for WordPress, Post Ratings, Recipe
   Card, SEO SearchTerms Tagging 2, Tweet, Like, Google +1 and Share, UberMenu, 
   WordPress Database Backup, WordPress SEO, WP Sitemap Page, WP Super Cache
 * Any help will be MUCH appreciated ! Thank you very much

Viewing 1 replies (of 1 total)

 *  Thread Starter [syckness87](https://wordpress.org/support/users/syckness87/)
 * (@syckness87)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/htaccess-auto-reset/#post-4036296)
 * It seems WordPress is updating my .htaccess every time I make a change in backoffice(
   upload photo, etc…) Do you think a plugin may be in cause ?

Viewing 1 replies (of 1 total)

The topic ‘.htaccess auto reset…’ is closed to new replies.

## Tags

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

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 1 participant
 * Last reply from: [syckness87](https://wordpress.org/support/users/syckness87/)
 * Last activity: [12 years, 9 months ago](https://wordpress.org/support/topic/htaccess-auto-reset/#post-4036296)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
