How to convert .htaccess file into web.config

From Hostek.com Wiki
Revision as of 06:19, 12 January 2017 by Andrewg (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Below are the steps to convert an .htaccess file into IIS's web.config format.

  1. Open IIS (launch IIS Manager) directly on the server.
  2. In the connections pane, select your site.
  3. Double-click on URL Rewrite.
  4. On the right, select “Import Rules”
  5. Copy-paste your .htaccess file or select it under “Configuration file”
  6. Click the “Xml view” to view in the web.config format.