301 Implementation of Redirect permanent redirection

Source: Internet
Author: User

During our website construction, webpage redirection is often required: Redirect. In this case, if no redirection is performed, then, the old address in the user's favorites or search engine database can only give the visitor a 404 page error message, and the access traffic is lost. For example, some websites registered with multiple domain names, you also need to redirect users who access these domain names to automatically jump to the primary site. 301 Implementation of redirect permanent redirection

301 redirect: 301 represents a permanent transfer (permanently moved). 301 redirection is the best method that is friendly to search engines after a webpage address is changed, we recommend that you use "301" for resolution.

Redirection of 301 under ASP. NET
<SCRIPT runat = "server">
Private void page_load (Object sender, system. eventargs E)
{
Response. Status = "301 moved permanently ";
Response. addheader ("location", "http://seo.highdiy.com ");
}
</SCRIPT>

After the configuration is complete, check whether the configuration is correct. There are many similar server header check tools on the Internet, such as check server headers tool-HTTP status codes checker or the webpage redirection check tool provided on this site.

 

Http://seo.highdiy.com/index.php/seo/search-engine-friendly-redirect-checker/
 

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.