301 redirect from one website to another using asp.net web.config file

<configuration>
    <system.webServer>
        <httpRedirect enabled="true" destination="http://uri" httpResponseStatus="Permanent" />
    </system.webServer>
</configuration>

Sorry I don't have a web.config solution for single page. You'll want to place this in your markup page near the top:

<% RedirectPermanent("http://url", true) %>

If it doesn't work for you post your markup here and I'll update it for you.


Create rules in your web.config file put

<system.webServer>
    <rewrite>
      <rules>
         <rule name="URL1" stopProcessing="true">
          <match url="^abc.html" ignoreCase="true" />
          <action type="Redirect" url="Your current page path" redirectType="Permanent" />
        </rule>
      </rules>
    </rewrite>
 </system.webServer>