Hi,
i'd like set 404 error for the pages that no use urlrewrite.
For exemple if i have a rule for the page: news_detail.aspx
<add name="Rewrite News" virtualUrl="^~/News/Ttile.aspx" rewriteUrlParameter="ExcludeFromClientQueryString" destinationUrl="~/detail_news.aspx" ignoreCase="true" />
I want that if someone in the browser write:
www.sitename.com/detail_news.aspx the page that it show is the 404.html (the default page for the 404 error)
How i can do?
Thank you.