Skip to content

Instantly share code, notes, and snippets.

@jonahvsweb
Created April 29, 2013 03:38
Show Gist options
  • Select an option

  • Save jonahvsweb/5479580 to your computer and use it in GitHub Desktop.

Select an option

Save jonahvsweb/5479580 to your computer and use it in GitHub Desktop.

Revisions

  1. Jonah created this gist Apr 29, 2013.
    33 changes: 33 additions & 0 deletions web.config
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,33 @@
    <?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>