301 Redirect Issue when using a query string in the virtual url
I'm trying to put a bunch of 301 redirects in place and I am running into an issue when trying to redirect from a query string. Here is an example of what I am doing:
I've tried switching rewriteUrlParameter between Include and Exclude, but I really don't feel that has anything to do with it. Am I missing a parameter or do I need to add some kind of regex?
Unfortunately, all of the pages were in the format of "/content.aspx?PageID=1234", so it's possible that the many rewrites are getting confused by the same root page of "content.aspx"?
301 Redirect Issue when using a query string in the virtual url
I'm trying to put a bunch of 301 redirects in place and I am running into an issue when trying to redirect from a query string. Here is an example of what I am doing:
I've tried switching rewriteUrlParameter between Include and Exclude, but I really don't feel that has anything to do with it. Am I missing a parameter or do I need to add some kind of regex?
Unfortunately, all of the pages were in the format of "/content.aspx?PageID=1234", so it's possible that the many rewrites are getting confused by the same root page of "content.aspx"?
Thanks!
The answer, for those wondering.
"?" is a reserved character, so you have to escape it. .
is working on a reply...