Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. How to Rewrite URLs????

How to Rewrite URLs????

Scheduled Pinned Locked Moved ASP.NET
helpcsharpapachecomdocker
3 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    Anand Desai
    wrote on last edited by
    #1

    Hi coders, I am using .NET 2008 version. I am currently facing problem with urls. i dont want to show my URL like '.....com/redirect.aspx?ser=..' but instead of same i want to show the fix url like '.....com/'. I have written like following:

    "><%# DataBinder.Eval(Container.DataItem, "cServiceName")%>

    I dont want to show "ServiceRedirect.aspx?serid=.." as my URL. I know this can be done by setting 'RewriteRule' in HTACCESS file. Can anyone please tell me how to set 'RewriteRule' in .NET????? Or please suggest me any other way to do it. Thanks in advance for any help. Anand Desai Developer Atharva Infotech

    N W 2 Replies Last reply
    0
    • A Anand Desai

      Hi coders, I am using .NET 2008 version. I am currently facing problem with urls. i dont want to show my URL like '.....com/redirect.aspx?ser=..' but instead of same i want to show the fix url like '.....com/'. I have written like following:

      "><%# DataBinder.Eval(Container.DataItem, "cServiceName")%>

      I dont want to show "ServiceRedirect.aspx?serid=.." as my URL. I know this can be done by setting 'RewriteRule' in HTACCESS file. Can anyone please tell me how to set 'RewriteRule' in .NET????? Or please suggest me any other way to do it. Thanks in advance for any help. Anand Desai Developer Atharva Infotech

      N Offline
      N Offline
      nyeboy
      wrote on last edited by
      #2

      I want to know this too.

      studing is processing in this life.

      1 Reply Last reply
      0
      • A Anand Desai

        Hi coders, I am using .NET 2008 version. I am currently facing problem with urls. i dont want to show my URL like '.....com/redirect.aspx?ser=..' but instead of same i want to show the fix url like '.....com/'. I have written like following:

        "><%# DataBinder.Eval(Container.DataItem, "cServiceName")%>

        I dont want to show "ServiceRedirect.aspx?serid=.." as my URL. I know this can be done by setting 'RewriteRule' in HTACCESS file. Can anyone please tell me how to set 'RewriteRule' in .NET????? Or please suggest me any other way to do it. Thanks in advance for any help. Anand Desai Developer Atharva Infotech

        W Offline
        W Offline
        whatUrunning com
        wrote on last edited by
        #3

        http://urlrewriter.net/[^]

        www.whatUrunning.com

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups