Webmasters Stack Exchange is a question and answer site for pro webmasters. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Trying to create a URL Rewrite rule for IIS 7.5 to read the query string parameter and redirect requests to a new URL structure - for example:


to a new more SEO friendly URL at:


Any good examples or guidance?

share|improve this question
up vote 1 down vote accepted

You'll want to make sure you have the Microsoft URL Rewrite Module installed, and create a rule template as covered step-by-step here:

IIS.net - User Friendly URL - rule template

The other way to do this is edit your web.config file, as covered here (substituting your URL's under "The lines to modify...").

share|improve this answer
I had to tweak the resulting rules from the User Friendly URL templates results as the URL paths are slightly different, but this did the trick. – cpuguru Aug 22 '13 at 15:13
Great - glad it helped :-) – dan Aug 22 '13 at 16:44

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.