2

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:

http://www.example.com/people/profile.aspx?dw

to a new more SEO friendly URL at:

http://www.example.com/our-people/profiles/dw

Any good examples or guidance?

2

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...").

  • 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 clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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