Difference between revisions of "How to convert .htaccess file into web.config"

From Hostek.com Wiki
Jump to: navigation, search
 
Line 1: Line 1:
Below are the steps to convert an htaccess file into IIS's web.config format.
+
Below are the steps to convert an .htaccess file into IIS's web.config format.
  
 
# Open IIS (launch IIS Manager) directly on the server.
 
# Open IIS (launch IIS Manager) directly on the server.

Latest revision as of 06:19, 12 January 2017

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.