Results 1 to 7 of 7

Thread: Wikipedia type URL

  1. #1

    Thread Starter
    Smitten by reality Harsh Gupta's Avatar
    Join Date
    Feb 2005
    Posts
    2,938

    Wikipedia type URL

    Hello,

    It's been a long time I did any web development, and I feel I need to brush up few things.

    I may have known this before but can't seem to recall it right now. Until now, a typical URL for accessing a page would look like this (to me atleast):

    http://domainname.com/<foldername>/page.aspx

    If you look at any wikipedia page, it would be:

    http://en.wikipedia.org/wiki/ASP.NET

    If I start working now, I would end up with something like:

    http://mysite.com/<some_folder_or_not>/aspnet.aspx

    How'd you achieve that wiki style URL effect in ASP.Net?

    Thank you.
    Show Appreciation. Rate Posts.

  2. #2

    Thread Starter
    Smitten by reality Harsh Gupta's Avatar
    Join Date
    Feb 2005
    Posts
    2,938

    Re: Wikipedia type URL

    I believe the answer lies in URL rewriting. Found this example.

    I have yet to try it though.

    Any more ides/thoughts/sample would be much appreciated.
    Show Appreciation. Rate Posts.

  3. #3
    PowerPoster gep13's Avatar
    Join Date
    Nov 2004
    Location
    The Granite City
    Posts
    21,963

    Re: Wikipedia type URL

    Hey,

    Which version of ASP.Net are you using?

    I think URL Rewriting, or rather Routing, is definitely what you are after. Depending on which version of ASP.Net you are using, this will either be built in (.Net 4.0), or provided through another application, or IIS.

    Gary

  4. #4

    Thread Starter
    Smitten by reality Harsh Gupta's Avatar
    Join Date
    Feb 2005
    Posts
    2,938

    Re: Wikipedia type URL

    Most probably .Net Fx 4.0 and SharpDevelop.
    Show Appreciation. Rate Posts.

  5. #5

  6. #6
    Serge's Avatar
    Join Date
    Feb 1999
    Location
    Scottsdale, Arizona, USA
    Posts
    2,744

    Re: Wikipedia type URL

    Also, ASP.NET 4.0 supports URL ROUTING (which is what MVC uses to create SEO friendly URLs).

    http://weblogs.asp.net/scottgu/archi...-0-series.aspx

  7. #7
    PowerPoster gep13's Avatar
    Join Date
    Nov 2004
    Location
    The Granite City
    Posts
    21,963

    Re: Wikipedia type URL

    Hey,

    I like that might be the same link as I posted

    Gary

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width