Use this page to create URL redirects to maintain your SEO rankings during site transfers.
There is no limit to the number of pages you can redirect. If a page match is not found in the redirects you setup, default.aspx is invoked.
Works for all file types, including asp, php, jsp, html, htm and aspx (as 302).
If the page you are trying to redirect from already exists, this utility will not catch it as it's not a 404 error.
SETUP:
1) Open up the web.config and find the CustomErrors section. Make sure you have the bolded section in your web.config below:
<customErrors mode="On">
<!-- This will redirect 404 error on PageNotFound.aspx ,this will work only for file-types that IIS passes to ASP.NET -->
<error statusCode="404" redirect="301Redirect.aspx" />
</customErrors>
2) Setup a 404 redirect in the IIS for your website to point to the /301Redirect.aspx page.
3) Setup your mappings below which will be used for the 301 redirect.
Add New Mappings
Request URL:
Resolve to URL:
Existing Mappings