Monday, January 26, 2009

UrlReWrting makes your web site searchable by search engines

UrlRewritingNet.UrlRewrite is a great open source library that can be used in ASP .NET for rewriting URLs.

The documentation says that the library is compatible with ASP .NET 2.0, but I have tested it with ASP .NET 3.5 sp1 and it worked great.

The library documentation provides a simple and efficient explanation for describing the great benefit from rewriting URLs:
A little example. You’re developing blog software which stores its entries in a database. To get the entry for displaying it in a details page you need the identity (ID) of the record to display. To get the ID you usually transport this value by Query String: http://myblog.com/details.aspx?id=234.

If your blog is ready and online you want to be found by potential readers on search engines like Google or Yahoo. These search engines send bots out to the World Wide Web to find interesting content. So what do you mean what the bot does with a Url like shown above? Not much, right.

So, wouldn’t it be cooler if the bot could find the topic of the blog entry in the Url for example? A rewritten Url could look like this:
http://myblog.com/detail/good-news-for-a-better-world-234.aspx.

The machine (search engine bot) has something to analyze and the user can imagine what the topic is about on this page, too.

No comments: