Redirect to subfolder - 404 error

74 views
Skip to first unread message

Otávio Augusto Soares

unread,
Dec 20, 2012, 2:33:04 PM12/20/12
to urlrewr...@googlegroups.com
Is it possible to do something like this?

<add name="ConsultingRewrite" virtualUrl="^~/consulting/?"
         rewriteUrlParameter="ExcludeFromClientQueryString"
         destinationUrl="~/consulting/19-consulting.aspx"
         ignoreCase="true" />

I'm getting 404 error.

Probably it's caused by the consuting folder.

The bellow example works:

<add name="FaqRewrite" virtualUrl="^~/faq/?"
         rewriteUrlParameter="ExcludeFromClientQueryString"
         destinationUrl="~/faqlist.aspx"
         ignoreCase="true" />

Any help would be great.
THanks
Reply all
Reply to author
Forward
0 new messages