3

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?

1 Answer 1

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

2
  • 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. Commented Aug 22, 2013 at 15:13
  • Great - glad it helped :-) Commented Aug 22, 2013 at 16:44

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.