301 Redirect

To enable a 301 redirect you can add the following piece of code to your web.config. The blue piece of code you need to add to the web.config and the green piece you need to replace with your own link.

<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<system.webServer>
<httpRedirect enabled="true" destination="https://www.MijnHostingPartner.nl" httpResponseStatus="permanent" />
<directoryBrowse enabled="false" />
<defaultDocument>
<files>
<clear />
<add value="Default.html" />
<add value="Default.htm" />
<add value="Default.asp" />
<add value="index.htm" />
<add value="Default.aspx" />
<add value="index.html" />
<add value="index.php" />
<add value="index.asp" />
</files&>
</defaultDocument>
</system.webServer>
</configuration>