The Rule "aboutus" is redirect a specific page to a another page.
The Rule "legal" is to redirect the all html files from a folder to a specific page.
<system .webserver="">
<rewrite>
<rules>
<rule name="aboutus">
<match url="^about-us.html$"></match>
<action type="Redirect" url="/index.html"></action>
</rule>
<rule name="Legal">
<match url="^Legal/(.*).html$"></match>
<action type="Redirect" url="/index.html"></action>
</rule>
</rules>
</rewrite>
</system>
<rewrite>
<rules>
<rule name="aboutus">
<match url="^about-us.html$"></match>
<action type="Redirect" url="/index.html"></action>
</rule>
<rule name="Legal">
<match url="^Legal/(.*).html$"></match>
<action type="Redirect" url="/index.html"></action>
</rule>
</rules>
</rewrite>
</system>
No comments:
Post a Comment