/ Published in: ASP
Place between the system.webServer tags. Use '(.*)' for variables.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
<rewrite> <rule name="pageRedirect1" stopProcessing="true"> <match url="^old-page\.html" ignoreCase="false" /> <action type="Redirect" redirectType="Permanent" url="http://www.domain.com/new-page.aspx" /> </rule> </rewrite>