URL Rewriting for IIS – SEO-Friendly URLS for ASP & .Net

Posted on June 17, 2008 · Posted in SEO Mistakes, SEO Tools

We often have clients that host their dynamic sites on IIS which means the file extensions are .asp or .aspx (.Net). This also means the dynamic URLs are SEO unfriendly with many parameters such as: “www.blendermania.com/index.asp?sg=vj6fxvpnixys8vkjk&p=24&c=12″. If this were hosted on a Unix platmform with PHP then a mod_rewrite would be in order to clean up the URL structure making it SEO friendly: “www.blendermania.com/blenders/oster-blender-gx.php”, which is a much nicer URL with descriptive terms. Search engines love that stuff.

So, with a Unix/Apache platform hosting PHP pages, a rewrite is simple. You can read more about it here: Mod_Rewrites.

But for asp and .Net pages it is a bit of a chore. To help with this we have listed a few sources that can help get your URLs rewritten in a jiffy…most of the time. Sometimes is depends if the server has other applications that don’t play well with the ISAPI (Internet Server Application Programming Interface) rewrite module, but you’ll have to ask your host and/or developer about that.

Here are some of the modules that can do URL rewriting on IIS.

Helicon Tech ISAPI_Rewrite
http://www.isapirewrite.com/

“ISAPI_Rewrite is a powerful URL manipulation engine based on regular expressions. It acts mostly like Apache’s mod_Rewrite, but is designed specifically for Microsoft’s Internet Information Server (IIS). ISAPI_Rewrite is an ISAPI filter written in pure C/C++ so it is extremely fast. ISAPI_Rewrite gives you the freedom to go beyond the standard URL schemes and develop your own scheme.”

QwerkSoft IISRewrite
http://www.qwerksoft.com/products/iisrewrite/

IISRewrite is a stripped down implementation of Apache’s mod_rewrite modules for IIS. Webmasters who have used Apache’s mod_rewrite in the past will find that much of the configuration and functionality is the same. IISRewrite is compatible with Microsoft’s ISAPI specification and has been tested on Windows NT Server 4.0 running IIS 4 and Windows 2000 Server running IIS 5.

OpURL
http://www.opcode.co.uk/components/rewrite.asp

“An ISAPI filter that provides powerful, integrated URL re-writing for IIS. OpUrl has many benefits, including helping to ensure search engines crawl even the dynamic parts of your site. Most search engine crawlers don’t index dynamic pages, e.g. page.asp?item=1 so OpUrl allows you to use static URLs instead. The functionality is very similar to Apache’s mod_rewrite.”

URL Replacer
http://www.motobit.com/help/url-replacer-rewriter/iis-mod-rewrite.asp

“The ISAPI filter rewrites/replaces defined parts of URL from browser. It enables url to scripts (.asp, .cgi, .idc) with parameters look like static html pages or specify exact download filename generated by script. You can also create a simple proxy server with IIS and any script engine (.asp,. aspx, …) using URL replacer.”

Microsoft Article on URL Rewriting in ASP.NET
http://msdn.microsoft.com/en-us/library/ms972974.aspx

“Examines how to perform dynamic URL rewriting with Microsoft ASP.NET. URL rewriting is the process of intercepting an incoming Web request and automatically redirecting it to a different URL. Discusses the various techniques for implementing URL rewriting, and examines real-world scenarios of URL rewriting. (31 printed pages)”