Allow query parameters in URL to be ignored
-
We have certain URLs that we want to redirect that have a variety of query parameters added to them for tracking purposes (e.g. /test?utm_parameter=campaign).
I’m not certain, but I believe the latest update to the plugin changed the way the plugin works with query parameters. Instead of ignoring them, it now uses them to match the URL redirect rules setup in the plugin.
For example, if I have the following rule setup:
/test -> /canada/test
This rule won’t count as a match if the URL visited is:
/test?utm_parameter=campaign
To get around this, I’ve had to edit the plugin file so that the query parameters are ignored when matching a URL redirect rule. It’d be nice to have an option with each redirect rule to either use to or ignore query parameters in the visitors URL.
Thanks!
- The topic ‘Allow query parameters in URL to be ignored’ is closed to new replies.