So I have a URL which has a tracking link applied to the end. For some reason WordPress is removing the &
which is causing the tracking to fail. You can see the URL example here:
When you go through this, you then get redirected in a way to:
Note the &
has been removed. Also, this only happens on internal pages. Does anyone know how to stop this?
redirect_canonical()
callback, where it removes only the first&
so?&a=1&b=2
is redirected to?a=1&b=2