.htaccess high cpu usage
-
hello
past few months i find out my site has high cpu usage so first things i did was
1- deleted unnecessary plugins
2- disable all plugins
3- changed my host provider
4- used a cdn:(cloudflare)
5- tried another cache plugins (mine is wp rocket)
but problem has never been solved
after all i find out what the problem is:
my permalinks are set on post name option and this make some rules in .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
whenever i try to delete codes above from .htaccess, cpu problem is solve but other page on my site except homepage not loading
i know solution is to change permalinks to wordpress default but i have more then 200-300 post and 1.5 k visitor daily is not this gonna ruin my website seo ?
is there another solution ?
is wordpress gonna fix this in future ?
The topic ‘.htaccess high cpu usage’ is closed to new replies.