Take the 2-minute tour ×
Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

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?

share|improve this question

1 Answer 1

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

 
discard

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.