Forums

[resolved] Web.config to permalinks in IIS(Windows) without errors (1 post)

  1. ycaroafonso
    Member
    Posted 11 months ago #

    <configuration>
    <system.webServer>
    <rewrite>
    <rules>
    <!-- change the "name" for each blog -->
    <rule name="wordpress" stopProcessing="true">
    <match url="^(.*)" />
    <conditions>
    <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" />
    <add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" />
    <!-- set the domain of the blog -->
    <add input="{HTTP_HOST}" pattern="^(www.)?ycaro\.net" ignoreCase="true" />
    </conditions>
    <action type="Rewrite" url="index.php" />
    </rule>
    </rules>
    </rewrite>
    </system.webServer>
    </configuration>

Reply

You must log in to post.

About this Topic