Sign up ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I need to redirect our old urls like the following using the IIS 7.5 url rewrite tool:

or (urls can potentially be one or more levels deep)

Here are the transformations that would need to take place:

  1. Change .htm to .aspx
  2. Change "+" to "-" (if they exist)
  3. Add "/Pages" just before the name of the page

So the final result would follow this format:

Can anyone please help me with the regex to use?


share|improve this question
This really isn't SharePoint specific at all, as you can tell with 14 hours and no responses. You'd have a response in minutes over on – James Love Jul 28 '12 at 20:24

Your Answer


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

Browse other questions tagged or ask your own question.