title: how to configure iis7 http 301 redirection?
body: <p>I have <code>http://thewebsite.com/blah/category/hello.html</code></p>
  
  <p>We need to redirect any url with /blah/ to the root of the site so that the new url is
  <code>http://thewebsite.com/category/hello.html</code></p>
  
  <p>How can we do this with iis7? Thanks in advance.</p>
  
  <p>Edit: I have just learned that our problem is not about 301-redirection but rather about url-rewrite. We are actually using wordpress with permalink <code>/index.php/%category%/%postname%.html</code> and the url goes this way : <code>http://thewebsite.com/index.php/categoryname/hello.html</code>. So using Url Rewrite on IIS7, how can we make the url to <code>http://thewebsite.com/categoryname/hello.html</code>? Thank you so much!</p>