WP Permalink Fix Windows Server

Dr. Sol Adoni

Books - Music - Films - Videos - Consults

If you are trying to run WP on a Windows Server platform using IIS you will have an issue with permalinks.

The fix is simple if you know it.

In the WP directory on your domain where WP is located on your domain name you have a file named web.config

You can use windows explorer file viewer to open the file with notepad.

Then you add the code below to replace the file.

Bingo, your permalinks work.

For windows servers only tested in Windows Server 2008 R2 IIS

________________________________________________

<?xml version=”1.0″ encoding=”UTF-8″?>
<configuration>
<system.webServer>
<rewrite>
<rules>
<rule name=”WordPress Rule” stopProcessing=”true”>
<match url=”.*” />
<conditions>
<add input=”{REQUEST_FILENAME}” matchType=”IsFile” negate=”true” />
<add input=”{REQUEST_FILENAME}” matchType=”IsDirectory” negate=”true” />
</conditions>
<action type=”Rewrite” url=”index.php?page_id={R:0}” />
</rule>
</rules>
</rewrite>
</system.webServer>
</configuration>

________________________________________

 

Dr. Sol Adoni

Books - Music - Films - Videos - Consults

Books by Dr. Sol Adoni