301 redirect definition
301 redirect (or 301 redirect, 301 jump) is the status code in the header information (header) in the HTTP data stream returned by the server when a user or search engine sends a browsing request to the website server. A type that indicates a permanent transfer of this web page to another address.
Other common status codes include, 200 means everything is normal, 404 web page not found, 302 temporary redirect, etc.
Methods for website redirection
Website redirection methods mainly include: 301 redirection, 302 redirection, JavaScript redirection, PHP/ASP/CGI redirection, META REFRESH web page META refresh, etc. 302 redirects may have URL canonicalization issues. Other methods are commonly used cheating techniques. Of course, this does not mean that they cannot be used legitimately. There is nothing wrong with the methods themselves, but they are used by cheaters so much that search engines are very sensitive to these suspicious turns. Why take the risk?
The necessity of 301 redirection
When webpage A uses 301 redirect to redirect to webpage B, the search engine can be sure that webpage A has permanently changed its location, or actually does not exist, and the search engine will redirect webpage B as the only valid target. The advantage is,
First, there is no URL standardization problem
Second, and also very important, the PR page level of web page A will be transferred to web page B
Third, inclusion will not be lost due to domain name changes.
Implement