Redirect from subfolder to root on IIS
-
Hi, I installed my WordPress site on a subfolder in IIS hosting. Now I am working with the web.config file to make the URL redirection to my root, but it is not working. This is what I have right now…
`<?xml version=”1.0″ encoding=”UTF-8″?>
<configuration>
<system.webServer>
<rewrite>
<rules>
<clear />
<rule name=”wordpress” patternSyntax=”Wildcard”>
<match url=”*”/>
<conditions>
<add input=”{REQUEST_FILENAME}” matchType=”IsFile” negate=”true”/>
<add input=”{REQUEST_FILENAME}” matchType=”IsDirectory” negate=”true”/>
</conditions>
<action type=”Rewrite” url=”index.php”/>
</rule>
<rule name=”rule 1g” stopProcessing=”true”>
<match url=”^(/)?$” />
<action type=”Rewrite” url=”/Tigerflow” />
</rule>
</rules>
</rewrite>
</system.webServer>
</configuration>
- The topic ‘Redirect from subfolder to root on IIS’ is closed to new replies.