This Permanent redirect coding is for the web.config file on IIS and is for redirecting specific pages within your301-Redirect website to either another page within your site or outside of your website. 301 Permanent Redirects are helpful for passing on link juice/PageRank for your website/pages to another destination. A 301 Permanent Redirect is the best way to redirect and help maintain rankings/traffic for your website.

Just to note, if you happen to have the same url in the location path twice going to two separate pages, this can potentially lead to the site not showing. So make sure you make backups of the web.config beforehand incase you need to make quick changes reverting back to the original coding.

<location path=”8.html”>
<system.webServer>
<httpRedirect enabled=”true” destination=”http://www.YourMagicSite99.com/installs/” httpResponseStatus=”Permanent” />
</system.webServer>
</location>
<location path=”6.html”>
<system.webServer>
<httpRedirect enabled=”true” destination=”http://www.YourMagicSite99.com/Sales/” httpResponseStatus=”Permanent” />
</system.webServer>
</location>
<location path=”5.html”>
<system.webServer>
<httpRedirect enabled=”true” destination=”http://www.YourMagicSite99.com/services/” httpResponseStatus=”Permanent” />
</system.webServer>
</location>