Need Help For URL Rewriting in Asp.net

Discussion in 'C#' started by Anny2425, Apr 28, 2010.

  1. #1
    I have made site http://www.passion4fashion.com before 6 months. now I want rewrite my sites url and make SEO friendly.

    Now its display dynamic url and i wanna make this type link structure.

    Home/ Main Category/ Prodcutname.aspx

    Can anyone share with me code. how to do that ??
     
    Anny2425, Apr 28, 2010 IP
  2. andrewdavid

    andrewdavid Peon

    Messages:
    98
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    URL rewriting concept is being implemented in asp.net greatly ! Just you need to go on MSDN asp.net online and or either search on Google with the query "implement URL rewriting in asp.net" Follow the first link ! In this tutorial of Microsoft , URL rewriting concept is full fleshed implemented with code specifications

    Regards
     
    andrewdavid, Apr 28, 2010 IP
  3. extremephp

    extremephp Peon

    Messages:
    1,290
    Likes Received:
    32
    Best Answers:
    0
    Trophy Points:
    0
    #3
    What script do run in? I mean is that any CMS or is it any newly custom made scripts??
     
    extremephp, Apr 28, 2010 IP
  4. cDc

    cDc Peon

    Messages:
    127
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #4
    A common way to do this if you application is custom is to modify the application_beginrequest event in your global.asax and perform a RewritePath call to local a specific page based on the URL of the request. Search google for global.asax and rewritepath and yuo should find tonnes of resources about it.
     
    cDc, Apr 29, 2010 IP