Hi,
I'm facing a strange issue where the .htaccess rewrite rule that removes index.php, is slowing down website, ONLY when number of visitors is high. The same .htaccess rewrite rule was working without any slowdown problems for more than a year. Now, when visitors number is high, the website takes far longer to load (X5). When I remove the rewrite rule from .htaccess, loading time goes back to normal. The .htaccess I use is:
Any idea please?
Thanks in advance
I'm facing a strange issue where the .htaccess rewrite rule that removes index.php, is slowing down website, ONLY when number of visitors is high. The same .htaccess rewrite rule was working without any slowdown problems for more than a year. Now, when visitors number is high, the website takes far longer to load (X5). When I remove the rewrite rule from .htaccess, loading time goes back to normal. The .htaccess I use is:
Code:
Options +FollowSymlinks
<IfModule mod_rewrite.c>
# Enable Rewrite Engine
# ------------------------------
RewriteEngine On
RewriteBase /
RewriteCond $1 !\.(css|js|gif|jpe?g|png)$ [NC]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ /index.php?/$1 [L]
</IfModule>
Thanks in advance