URL Rewrite

Discussion in 'Programming' started by msjawahar, Nov 22, 2007.

  1. #1
    Hi,
    Can any help me how to implement the URL Rewrite in ASP.net 2

    thx

    Steve
     
    msjawahar, Nov 22, 2007 IP
  2. iwyrobi

    iwyrobi Peon

    Messages:
    91
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #2
    to do that by making an entry in the application's web.config file. To do this, you need to add a <urlMappings> section inside of the <system.web> section. Here's an example to do the mapping that we want:


    <system.web>
    <urlMappings enabled="true">
    <add url="~/Widget/aspx" mappedUrl="~/Products/W/Widgets.aspx"/>
    </arlMappings>
    </system.web>

    i get it on google.
     
    iwyrobi, Nov 23, 2007 IP