The problem is that my querystring is kept at the end of the destination url. For example "http://www.xxx.com/1726.aspx??tag=blue&type=3" becomes "
http://www.xxx.com/newurl/?tag=blue&type=3".
I would like to remove the part "?tag=blue&type=3" on destination url. How can I do that ?
Url rewriting remove querystring
I am trying to configure a simple rewrite rule using urlrewriting.net but I can't get it to work. Any help would be appreciated.
The goal is to 301 redirect all requests from http://www.xxx.com/1726.aspx with any query string behind to the exact following url : http://www.xxx.com/newurl/ using urlrewriting.net :
I created the rule below :
The problem is that my querystring is kept at the end of the destination url. For example "http://www.xxx.com/1726.aspx??tag=blue&type=3" becomes " http://www.xxx.com/newurl/?tag=blue&type=3".
I would like to remove the part "?tag=blue&type=3" on destination url. How can I do that ?
Hello,
Do you know about the UrlProvider and ContentFinder? Those might be better to use. See this blog for more info: http://24days.in/umbraco/2014/urlprovider-and-contentfinder/
Jeroen
is working on a reply...