Skip to content

Instantly share code, notes, and snippets.

@abrudtkuhl
Created June 30, 2014 22:42
Show Gist options
  • Save abrudtkuhl/509ba171fdf6aa7291c0 to your computer and use it in GitHub Desktop.
Save abrudtkuhl/509ba171fdf6aa7291c0 to your computer and use it in GitHub Desktop.
WordPress on IIS Web.config to use permalinks
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<system.webServer>
<rewrite>
<rules>
<rule name="Main Rule" 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>
@hellknighthicks
Copy link

Thanks for the WordPress on IIS article and for posting this.
It does look like they added a web.config to the Web Platform Installer 5.1 process for word press.

Still helpful.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment