SEO optimize
Small details are the key, now start to optimize your 301, 302 pages
Small details are the key, now start to optimize your 301, 302 pages
301. The importance of 302 error pages for SEO
Everyone is not unfamiliar with 404 pages. The previous article also mentioned how important 404 pages are to SEO , and different scripts represent different error messages. This article will introduce 301 and 302 pages, the same is also true Will introduce how these errors will affect SEO?
First understand, what are pages 301 and 302?
301-The page has been permanently migrated, that is, a permanent redirect.
302-Webpage temporarily migrated.
301 (moved permanently)
The requested page has been permanently moved to a new location. When the server returns this response (as a response to a GET or HEAD request), it will automatically redirect the requester to the new location. Use this code to notify search engine spiders that a webpage or website has been permanently moved to a new location.
302 (temporary move)
The server is currently responding to requests from web pages in different locations, but the requester should continue to use the original location for future requests. This code is similar to the 301 code in response to GET and HEAD requests, and will automatically redirect the requester to a different location. But since search engine spiders will continue to crawl the original location and index it, do not use this code to notify search engine spiders when a page or website has been moved.
How to understand 301 and 302 jumps
Jump usage:
If the address of the original page is http://www.seoseo.com.tw/A.htm (hereinafter referred to as page A), now it is set to http://www.seoseo.com.tw/B due to business needs. htm (hereinafter referred to as page B), although there is no difference for visitors, but for search engines, because page A and page B are different pages, we need to tell search engines that page B is the original page A At this time, you need to use the jump method to process. You can choose 301 or 302. The difference between them is:
Use 301: 301 to indicate a permanent jump. If page A has been indexed by a search engine, set 301 for this page, and the search engine will know that you have changed the URL to page B. Next time the search spider visits the site again, it will index the website from page B, and the database will include A The page is deleted and replaced with page B. When you have set 301, you can transfer the weight of the original A page to the B page more completely.
Use 302: 302 to indicate a temporary jump. The difference between 302 and 301 is that the search engine database will not delete page A, but page B will still be added.
Consequences of not using 301 and 302
If the website administrator modifies the page link and changes page A to page B, but does not set the jump attribute on the server (IIS, Apache, Websphere, etc.), then although it will not affect user access, the search engine does not know , Will lead to two bad results:
Generate 404 status
It will still try to access the original page A (there are two possibilities: 1. The search engine database has not been updated, and page A is still reserved, so it will visit. 2. The friendship links of some websites outside are still page A, search After the engine crawls, it still visits page A), and it turns out to be a 404 status. Because 404 indicates that the website is wrong, the search engine thinks that the website is not done well, so the website will be punished and the website's ranking will drop.
New page optimization is slow
After a while, the search engine found that there was an additional page B on the site and included it, but because there was no redirect, it thought it was a brand new page, which had nothing to do with the original page A, and the ranking of the original page A would not If it is transmitted to page B, page B will restart the ranking calculation. Generally speaking, it will take 2-3 months. If page A's original ranking is good, then page B will start the calculation again, which will be very disadvantaged.
301, 302 Consequences of improper use
On the surface, 302 is more friendly than 301, but because 302 is a temporary jump, if it is used for long-term jump, search engines will think that this is the weight of the website using 302 jump to transfer page A, which is page B Cheating will give the website punishment. Because search engines are uncertain about the judging rules of jump time, it is not recommended to use 302 jump. (Google has always emphasized the use of 301 instead of 302)
Post a Comment
0 Comments