Creating IIS Rewrite Rules
- by Tom Bell
I'm having a hard time converting old .htaccess rewrite rules to new IIS ones so I was wondering if anyone could point me in the right direction. Below are some example URLs I would like rewriting.
http://example.org.uk/about/
Rewrites to
http://example.org.uk/about/about.html
-----------
http://example.org.uk/blog/events/
Rewrites to
http://example.org.uk/blog/events.html
-----------
http://example.org.uk/blog/2010/11/foo-bar
Rewrites to
http://example.org.uk/blog/2010/11/foo-bar.html
The directories and file names are generic and could be anything. Any help would be greatly appreciated.