I am using urlrewriter.net and I am trying to make a redirection. So here is the condition,
If the requested url doesn't end with a / (slash) and then add / at the end of the url and redirect to added url.
So if the url is "http://www.something.com/cases" then add /
and redirect it to "http://www.something.com/cases/"
I've used code but it didn't work out for me :
<if url="^~/(.+)(/){0}$">
<redirect url="~/(.+)" to="~/$1/$"/>
</if>