301 error is mainly the domain name after the replacement, the search engine is still using your original domain address to visit your site, if the search engine crawled to get a 301 error, then the search engine will know that you have changed the domain name, the next time you will use the new domain name to index your site, Of course you have to tell the search engine what your new domain is
"Quote Baidu Pull"
//need to be configured in Webconfig<system.webServer> "301html"Path="*.html"verb="*"Type="System.Web.UI.PageHandlerFactory"Resourcetype="Unspecified"precondition="Integratedmode"/> //Modify the Global.asax file voidApplication_BeginRequest (Objectsender, EventArgs e) { if(HttpContext.Current.Request.RawUrl.Contains ("123.html"))//old page{Response.statuscode=301; Response.Redirect ("http://www.baidu.com");//Jump AddressResponse.End (); } } View Code
About 301 Error Jumps