Friendly URLS: Microsoft URL Rewrite Module for IIS 7

We've been fielding a few questions concerning the relatively new rewrite engine you can download for IIS7. It purports to be as good as Apache mod_rewrite but unfortunately Microsoft have decided to invent a rewrite rule syntax of their own -- surprising, eh ;)

IIS URL Rewrite 2.0 enables Web administrators to create powerful rules to implement URLs that are easier for users to remember and easier for search engines to find.
http://www.iis.net/expand/URLRewrite

Turns out the simplest way to get friendly urls to work on IIS7 is to use the built-in "import rule" functionality for existing mod_rewrite rules.

Jason has put together a quick little tutorial with screenshots to help you through:
http://docs.farcrycms.org/display/FCDEV50/Friendly+URLS+IIS7

Enjoy!

3371 views and 2 responses

  • Apr 7 2010, 12:28 AM
    Yang responded:
    Thanks Geoff and Jason for your help. Friendly URL is now working on our conference site. I've also written a step-by-step guide on setting up friendly url in FarCry with IIS 7.0 on my blog http://yangly.wordpress.com.
  • Apr 7 2010, 1:06 AM
    jason Barnes responded:
    Excellent write up Yang. Glad we could help.