I have Google Analytics installed on all pages of our site. Whenever we use URL parameters to track the source, campaign, etc., the pages load properly. EXCEPT…
The homepage throws a 404 error whenever it has URL parameters in it.
We are using this code in the .htaccess file to remove index.php:
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ /index.php/$1 [L]I found this article which talks about what we’re trying to do, but wanted to see if there is a better (or easier) way to get Google Analytics tracking to work on the homepage.
Version: 1.6.9, Build: 20100430 (will be upgrading to 1.7 tonight)
Thanks.