Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save eliasfaical/edd425ae40af1bc5e615d3077b54d712 to your computer and use it in GitHub Desktop.
Save eliasfaical/edd425ae40af1bc5e615d3077b54d712 to your computer and use it in GitHub Desktop.
web.config wordpress em hospedagem Windows
<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/{R:0}" />
</rule>
</rules>
</rewrite>
</system.webServer>
</configuration>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment