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. URL rewriting

URL rewriting

Scheduled Pinned Locked Moved Web Development
comhelptutorialquestion
6 Posts 4 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.
  • R Offline
    R Offline
    random4
    wrote on last edited by
    #1

    Hi there, when we rewrite url for example, http://mysite.com/default.aspx?page=hello-world to something like this - http://mysite.com/default/page/hello-world My concern is when somebody bookmarks or directly hits the rewritten URL (http://mysite.com/default/page/hello-world), does that work? :wtf: Any help is appreciated! Thank you!

    Aditya :-D

    P S 2 Replies Last reply
    0
    • R random4

      Hi there, when we rewrite url for example, http://mysite.com/default.aspx?page=hello-world to something like this - http://mysite.com/default/page/hello-world My concern is when somebody bookmarks or directly hits the rewritten URL (http://mysite.com/default/page/hello-world), does that work? :wtf: Any help is appreciated! Thank you!

      Aditya :-D

      P Offline
      P Offline
      Paddy Boyd
      wrote on last edited by
      #2

      Have you tried it?

      1 Reply Last reply
      0
      • R random4

        Hi there, when we rewrite url for example, http://mysite.com/default.aspx?page=hello-world to something like this - http://mysite.com/default/page/hello-world My concern is when somebody bookmarks or directly hits the rewritten URL (http://mysite.com/default/page/hello-world), does that work? :wtf: Any help is appreciated! Thank you!

        Aditya :-D

        S Offline
        S Offline
        Satish32
        wrote on last edited by
        #3

        Try this out - its free http://urlrewriter.net/

        Satish

        D 1 Reply Last reply
        0
        • S Satish32

          Try this out - its free http://urlrewriter.net/

          Satish

          D Offline
          D Offline
          dataminers
          wrote on last edited by
          #4

          I use UrlRewritingNet.UrlRewriter.dll Following rule workin in IIS 5, Visual Studio Development Server. But not workin IIS 7. <add name="MyRule1" virtualUrl="^~/(.*)/Book.aspx" rewriteUrlParameter="ExcludeFromClientQueryString" destinationUrl="~/abc.aspx?KitapId=$1" ignoreCase="true" />

          R 2 Replies Last reply
          0
          • D dataminers

            I use UrlRewritingNet.UrlRewriter.dll Following rule workin in IIS 5, Visual Studio Development Server. But not workin IIS 7. <add name="MyRule1" virtualUrl="^~/(.*)/Book.aspx" rewriteUrlParameter="ExcludeFromClientQueryString" destinationUrl="~/abc.aspx?KitapId=$1" ignoreCase="true" />

            R Offline
            R Offline
            random4
            wrote on last edited by
            #5

            Oops, but i am using PHP for hosting. Can you or anyone provide me the htaccess rule please?

            Aditya :-D

            1 Reply Last reply
            0
            • D dataminers

              I use UrlRewritingNet.UrlRewriter.dll Following rule workin in IIS 5, Visual Studio Development Server. But not workin IIS 7. <add name="MyRule1" virtualUrl="^~/(.*)/Book.aspx" rewriteUrlParameter="ExcludeFromClientQueryString" destinationUrl="~/abc.aspx?KitapId=$1" ignoreCase="true" />

              R Offline
              R Offline
              random4
              wrote on last edited by
              #6

              thanks for the reply anyway!

              Aditya :-D

              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