The first thing I would check for is a rewrite rule that is causing a rewrite loop. Rewrite loops tend to send Apache off the deep end.
Thread Starter
coleh3
(@coleh3)
Would that make sense with why once I enabled the plugin I would almost immediately see the Google Analytics real time visitors number rise by a bunch?
Could you please point me in the right direction to look for the rewrite loop?
I really appreciate your help and quick response. Been searching for an answer and this seems to be on the right track.
I would almost immediately see the Google Analytics real time visitors number rise by a bunch?
No, a rewrite loop happens before any of the page is loaded where the GA scripts are).
Could you please point me in the right direction to look for the rewrite loop?
Can you post your .htaccess and some info on your set up?
Thread Starter
coleh3
(@coleh3)
I currently have a multi-site install setup in my public_html directory. It uses sub-domains. I am using C-Panel on a Linux server with wildcard sub-domains setup.
Here is my .htaccess file
#deny from all
# 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
AddOutputFilterByType DEFLATE text/plain
AddOutputFilterByType DEFLATE text/html
AddOutputFilterByType DEFLATE text/xml
AddOutputFilterByType DEFLATE text/css
AddOutputFilterByType DEFLATE application/xml
AddOutputFilterByType DEFLATE application/xhtml+xml
AddOutputFilterByType DEFLATE application/rss+xml
AddOutputFilterByType DEFLATE application/javascript
AddOutputFilterByType DEFLATE application/x-javascript
Thanks again for all your help.
You need to update your .htaccess to the one shown in Network Admin -> Network Setup.
Thread Starter
coleh3
(@coleh3)
Yes! Great catch.
I have re-activated the plugin and haven’t had any load issues since.
Thanks again for your help.