Quantcast
Channel: All Forums
Viewing all articles
Browse latest Browse all 27852

URLRewriting.config

$
0
0

Hello,

Im writing a load of re-write rules using urlrewritng.config. There are a few that are not working and can see that there is a common theme.

The first one is when the url that needs re-directing has '..' in it e.g.

<add name="rewriteOldSite545" virtualUrl="^~/products-and-services/customer-handli.." rewriteUrlParameter="IncludeQueryStringForRewrite" destinationUrl="~/products-and-services/customer-handling"  redirect="Application" ignoreCase="true"  redirectMode="Permanent"/>

the .. at the end if the virtualUrl is causing the rule not to work. Is there an a substitute I can use so that the server will intepret the url correctly and then re-direct?

similarily I have the same issue with rules that have '%20' in the url, again is there an alternative I can use?

thanks in anticipation. 

 

 

 

 


Viewing all articles
Browse latest Browse all 27852

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>