SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. 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

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.