I have http://thewebsite.com/blah/category/hello.html
We need to redirect any url with /blah/ to the root of the site so that the new url is
http://thewebsite.com/category/hello.html
How can we do this with iis7? Thanks in advance.
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 /index.php/%category%/%postname%.html
and the url goes this way : http://thewebsite.com/index.php/categoryname/hello.html
. So using Url Rewrite on IIS7, how can we make the url to http://thewebsite.com/categoryname/hello.html
? Thank you so much!