url rewriting without page extension

Discussion in 'ASP.NET 2.0' started by maaravi, Aug 5, 2007.

  1. Hi,

    I would like to implement URL rewriting without the .aspx extension, so that, for example, a url that looks like this:

    http://www.mysite.com/product/12345/product-name/

    would be rewritten as:

    http://www.mysite.com/product.aspx?id=12345

    I read some articles explaining how to do url rewriting in ASP.NET, but they all require the clean url to have an aspx entension, so that the request will be routed to the ASP.NET engine.

    Please advise on how I do URL rewriting without a page extention.

    Thanks,
    Eyal Maaravi
     
  2. You will have to request the DASP technical support team for wild card mapping for url rewriting to work.

    Vikram

    DiscountASP.NET
    www.DiscountASP.NET
     
  3. Thanks Vikram,


    Just to make sure - with the wildcard mapping employed, is it possible to use a URL without a page extension?
     
  4. You should be able to rewrite the url to one without any page extensions.

    Vikram

    DiscountASP.NET
    www.DiscountASP.NET
     

Share This Page