Manual:Short URL/IIS7

Generic Tutorial on IIS Rewrite Module
The following tutorial offers a number of articles to describe the IIS Rewrite module: Using URL Rewrite Module

Using IIS Rewrite Module with MediaWiki
'''Can someone please update the following text with an XML excerpt of the rules created by the GUI steps? Some of us don't have access to the IIS control panel of our servers!'''

The following steps were performed to successfully integrate the IIS Rewrite Module with the Short URL capability offered by MediaWiki running on a Windows 2008 Small Business Server running IIS7.0:


 * 1) Download appropriate 32bit or 64bit IIS Rewrite Module from Microsoft:
 * 2) * (x86): 32bit Rewrite Module from Microsoft
 * 3) * (x64): 64bit Rewrite Module from Microsoft
 * 4) Install on the host server by running the downloaded MSI
 * 5) Open the Internet Information Services (IIS) Manager
 * 6) Select the site that contains the MediaWiki installation
 * 7) Select "URL Rewrite" within the IIS Area group features
 * 8) Click "Add Rules..." (on the right-hand "Actions" panel)
 * 9) Select "Blank Rule" and click "OK" (displays the Edit Rule pane)
 * 10) Enter a unique name for the rule (e.g. WikiShortURLStd)
 * 11) Set the "Requested URL" drop down to "Matches the pattern"
 * 12) Set the "Using" drop down to "Regular Expressions"
 * 13) Enter ^wiki/(.*)$ in the "Pattern" field
 * 14) Don't add any conditions
 * 15) Set the "Action Type" drop down to "Rewrite"
 * 16) Enter w/index.php?title=$1 in the "Rewrite URL" field
 * 17) * (Where w is the full root path of your MediaWiki installation (e.g. www.example.com/w))
 * 18) Leave the "Append query string" check box as checked
 * 19) Press Apply (on the right-hand "Actions" panel)
 * 20) Return to the list of rules by pressing "Back to Rules" on the "Actions" panel.

Don't forget to make the changes to $wgArticlePath and $wgUsePathInfo in your LocalSettings.php file (as described in Manual:Short_URL/IIS6).