WP or plugns breaking htaccess file.
-
So my site was flagged for using too many resources by the web host.
As a result I have done a lot of optimising and it’s looking great performance-wise.
However, the big issue now is that something (I’m guessing, a plugin) is altering my htaccess file on pretty much a daily basis and is crashing the site, causing a 500 error.
Now the advice is to shut off all plugins and turn them on one by one to see what the problem is. However, I have a fair few plugins and it seems to take around 24 hours for the site to crash.
Without many of the plugins, my site would be vulnerable for attack and would probably use more resources (my web host is on the verge of kicking me). So does anyone have another way to remedy the problem without spending two weeks turning pugins on one by one, one a day?
Specifically, the error seems to be caused by something writing the following numerous times over and over in the htaccess file:
# 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
Thanks!
- The topic ‘WP or plugns breaking htaccess file.’ is closed to new replies.