Getting to search engine friendly and human friendly URLS ASAP

Posted Sun, Apr 17 2005 9:38 PM by Mischa Kroon

Ok fast overview, you want to go from:

www.bla.com/bla.aspx?id=12&year=1999&month=2

to:
www.bla.com/123.aspx
or
www.bla.com/123
or
www.bla.com/123/id/12/year/1999/month/2

Here are your options:

URL Rewriting engines:

Simple + Regex through httphandlers: (Article)
http://www.15seconds.com/issue/030522.htm

SES: aka no more ? and &
http://weblogs.asp.net/skillet/archive/2004/05/04/125523.aspx

HTTP Module: ( recommended if your not going for mapping all extensions to asp.net)
http://weblogs.asp.net/fmarguerie/archive/2004/11/18/265719.aspx


The following problems arise when you want to remove the .aspx part:
http://scottonwriting.net/sowblog/posts/943.aspx
and:
http://scottwater.com/blog/archive/2004/09/08/IIS6_HttpCompress_NotSoFast

The solution seems to be to use ISAPI filters.

Free ISAPI Filter:
http://cheeso.members.winisp.net/dl/IonicIsapiRewriter.zip

This uses PCRE (http://www.pcre.org) for the regular expression support.

Commercial ISAPI filter:
http://www.isapirewrite.com/

Main advantage of this solution, are high class docs.
http://www.isapirewrite.com/docs/



Some information on handling postbacks can be found in this article:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnaspp/html/urlrewriting.asp

 

Comments

# re: Getting to search engine friendly and human friendly URLS ASAP

Monday, April 18, 2005 7:33 AM by Mischa Kroon

That's a great list!!! Thanks!
I was just planning to look up stuff like this! Isn't blogging just great?! :)

# re: Getting to search engine friendly and human friendly URLS ASAP

Monday, April 18, 2005 10:16 AM by Mischa Kroon

Jup, same here.

I saw a question on a mailinglist I'm on and while I was doing some research on how to do it I figured that I might as well go a little deeper and make a blog post out of it.

# re: Getting to search engine friendly and human friendly URLS ASAP

Monday, November 14, 2005 5:46 AM by Jason Wood

Thanks for the great list of resources. It really helped me look at the various options for transforming ASP.net links into search engine friendly links.

Leave a Comment

(required) 
(required) 
(optional)
(required) 
Please add 5 and 7 and type the answer here: