Blog

Wednesday, 18 April 2018 20:26

How to Setup WordPress Permalinks on Windows IIS

Written by 
Rate this item
(0 votes)

How to Setup WordPress Permalinks on Windows IIS.

Place this file into the base directory of your WordPress installation to allow permalinks (or "pretty URLs") on Windows IIS.

 

<?xml version="1.0" encoding="UTF-8"?>

<configuration>

  <system.webServer>

    <rewrite>

      <rules>

        <rule name="wordpress" stopProcessing="true">

          <match url=".*" />

          <conditions logicalGrouping="MatchAll">

            <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" />

            <add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" />

          </conditions>

          <action type="Rewrite" url="index.php" />

        </rule>

      </rules>

    </rewrite>

  </system.webServer>

</configuration>

Read 954 times Last modified on Thursday, 26 April 2018 19:26

Leave a comment

Make sure you enter the (*) required information where indicated. HTML code is not allowed.