Created
December 16, 2013 22:14
-
-
Save ycaroafonso/7995413 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<configuration> | |
<system .webserver=""> | |
<rewrite> | |
<rules> | |
<!-- Se possuir mais de um blog no servidor, mude a "name" da linha abaixo para um nome qualquer --> | |
<rule name="wordpress" stopprocessing="true"> | |
<match url="^(.*)"> | |
<conditions> | |
<add input="{REQUEST_FILENAME}" matchtype="IsFile" negate="true"> | |
<add input="{REQUEST_FILENAME}" matchtype="IsDirectory" negate="true"> | |
<!-- Configure o dominio do blog de acordo com o exemplo da linha abaixo --> | |
<add ignorecase="true" input="{HTTP_HOST}" pattern="^(www.)?ycaro\.net"> | |
</add></add></add></conditions> | |
<action type="Rewrite" url="index.php"> | |
</action></match></rule> | |
</rules> | |
</rewrite> | |
</system></configuration> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment