.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 CacheAny help will be MUCH appreciated ! Thank you very much
- The topic ‘.htaccess auto reset…’ is closed to new replies.