Got an issue I haven’t seen before. Links to an EE site from an email (Campaign Monitor) are causing pages to render a 404 instead.
This works
<a href="http://sacramentofestival.com/kids/for-grownups/">http://sacramentofestival.com/kids/for-grownups/</a>but this, coming from a Campaign Monitor email, does not (and shows the 404 template):
<a href="http://sacramentofestival.com/kids/for-grownups/?utm_medium=email&utm_campaign=festival">http://sacramentofestival.com/kids/for-grownups/?utm_medium=email&utm_campaign=festival</a> [...]Any idea why? Is there a setting in EE for ignoring such params? I don’t need to capture the string for anything.
One thought: here’s my .htaccess. These rules have been translated for an Ngnix server. I tried the above test on other URLs (not just /kids) and the same result.
AcceptPathInfo On
Options -Indexes
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteRule ^festival/kids(.*)$ /kids$1 [R=301,L]
# ee stuff
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond $1 !^/index.php
RewriteCond $1 !.(css|js|png|jpe?g|gif|ico)$ [NC]
RewriteRule ^(.*)$ index.php/?$1 [L]
</IfModule>Any suggestions on the EE side? Thanks!