Welcome Guest, Not a member yet? Register   Sign In
Query String Problem, Can't Resolve with Config Changes
#2

[eluser]blzabub[/eluser]
I was actually able to partially solve this problem by adding the following htaccess rules-

Code:
RewriteCond %{QUERY_STRING} ^utm*
RewriteRule ^$ /main? [L]

My email service tacks on query strings that look like this-

mysite.com/?utm_source=foo&utm_campaign=bar

This solution seems to work, however, I'd prefer not to write such a rule for all possible query strings. However, it seems that if I don't have-

^utm*

Apache will redirect even my normal segment URLs like

mysite/main/contact

Thus breaking my site navigation.


Messages In This Thread
Query String Problem, Can't Resolve with Config Changes - by El Forum - 07-27-2010, 07:35 AM
Query String Problem, Can't Resolve with Config Changes - by El Forum - 07-27-2010, 09:01 AM
Query String Problem, Can't Resolve with Config Changes - by El Forum - 07-27-2010, 09:02 AM
Query String Problem, Can't Resolve with Config Changes - by El Forum - 07-27-2010, 09:12 AM



Theme © iAndrew 2016 - Forum software by © MyBB