301 Theory of permanent redirection and its operating methods

Source: Internet
Author: User
Keywords Domain name search engine very

In our site Amoy star Construction, often encounter the need for Web page redirection: Like the site adjustment, such as changes in the directory structure, the page was moved to a new address, or, if the page name extension changes, If you need to change. php to. html or. shtml, in this case, if you do not redirect, the user's favorites or the old address in the search engine database can only give access to a 404-page error message, and the access traffic is lost; as some sites registered with multiple domain names, they also need to be redirected to allow users accessing these domains to automatically jump to the main station. Point, and so on.

Common redirection methods are: Redirect, 302 redirect and Meta Fresh:

The redirect:301 represents permanent transfer (permanently moved), 301 redirects are the best way to search engine friendliness after a Web page change, and it is recommended that 301来 be used as a referral if it is not temporarily removed.

302 redirect:302 on behalf of temporary transfer (temporarily moved), in the previous years, many black Hat seo has been widely used in this technology cheating, at present, major search engines have intensified the crackdown, Like Google's previous years of business.com and recent penalties for BMW's German website. Even if the site is not objectively spam, it is easy to be mistaken for the search engine spam and be punished.

Meta Fresh: This was more prevalent 2000 years ago, but it is now rare. It is specifically through the meta instructions in the Web page, after a specific time to redirect to the new page, if the delay time is too short (about 5 seconds), will be judged as spam.

301 Permanent Redirect: This is an SEO basic noun, in the URL normalization will use, perhaps we all know this noun, but because the application is not very frequent, cause many professional do SEO friends are not very familiar with the 301 permanent redirection of the specific methods of operation, Today I'm going to explain the theory of 301 permanent redirects, and the practical ways of doing it.

301 Concept of Permanent redirection:

Web site redirection is one of the most feasible approaches. When a user or search engine sends a browse request to a Web server, one of the status codes in the header (header) of the HTTP data stream returned by the server indicates that this page is permanently transferred to another address.

The above paragraph is a brief description of the concept of 301 permanent redirects, so why do you pay so much attention to 301 permanent redirects?

Reason: 301 permanent redirect is the only way to comply with the search engine rules in all redirect methods, the other redirect also includes 302 temporary redirect and JS Jump, and so on, these methods are easy to cause the problem of URL irregularities. So if you have multiple domain names and you want them to have access to the same site, that can only be one of the main domain name, the rest of the other domain to do 301 permanent redirect to the main domain name, only in this way can be perfect for multiple domain names are visited a site, will not produce duplicate collection, resulting in the site was punished phenomenon.

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.