Sign In| Join
Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Feb 25, 2009 01:39 PM by vinay_jss
Member
97 Points
84 Posts
Feb 25, 2009 12:22 PM|LINK
hi all,
i am new to write these redirection rules, can anyone please give me full exapmle how can i write a rewrite rule in my web.config file .
Participant
1302 Points
191 Posts
Feb 25, 2009 01:39 PM|LINK
Hello!!
You can take reference from there:
<add name="Forum" virtualUrl="~/forums/(.*)/([0-9]*)/(.*).aspx" destinationUrl="~/forums/topic.aspx?forumid=$2" rewriteUrlParameter="ExcludeFromClientQueryString" ignoreCase="true"/>
http://codeasp.net/blogs/vijjendra/microsoft.net/48/problem-with-url-rewriting-in-aspnet
ankursempire...
Member
97 Points
84 Posts
rewrite rule in Web.config file
Feb 25, 2009 12:22 PM|LINK
hi all,
i am new to write these redirection rules, can anyone please give me full exapmle how can i write a rewrite rule in my web.config file .
vinay_jss
Participant
1302 Points
191 Posts
Re: rewrite rule in Web.config file
Feb 25, 2009 01:39 PM|LINK
Hello!!
You can take reference from there:
<add name="Forum" virtualUrl="~/forums/(.*)/([0-9]*)/(.*).aspx" destinationUrl="~/forums/topic.aspx?forumid=$2" rewriteUrlParameter="ExcludeFromClientQueryString" ignoreCase="true"/>
http://codeasp.net/blogs/vijjendra/microsoft.net/48/problem-with-url-rewriting-in-aspnet
Vinay Kumar Gupta
Lead Engineer
Recent Blogs postings
Please mark the most helpful reply/replies as "Answer".