I’m using Intelligencia UrlRewriter for URL Rewriting, the only issue I have is trailing slash.
I have this rule in web.config
<rewrite url="~/moviesarchive/(.+)" to="~/MoviesArchive.aspx?p=$1" />
it works when I use http://localhost/site/moviesarchive/1, I handled the situation when p parameter is null or empty, http://localhost/site/MoviesArchive.aspx, but when I remove trailing slash, http://localhost/site/moviesarchive or I use http://localhost/site/moviesarchive/, I get HTTP Error 404.0 - Not Found error. How can I fix it?
Check out the Documentation at:
http://urlrewriter.net/index.php/support/reference/actions/redirect