SEO Optimization tips: HTTP status Code Detailed introduction

Source: Internet
Author: User

Intermediary transaction http://www.aliyun.com/zixun/aggregation/6858.html ">seo diagnose Taobao guest cloud host technology Hall

What is the HTTP status code? What's the use of HTTP status codes? How to handle HTTP status codes can be more friendly with search engines? What's the best way to optimize your website? How is the HTTP status code monitored? These are many beginners SEO optimization This industry novice often ask questions, the following we make a solution.

SEO Tips _http status code?

The HTTP protocol is a typical request/response pattern, and the client requests the server, the client, and the server to establish a connection.

The client sends a piece of data to the server, such as the following request:

Host:download.microtool.de

Accept: */*

Pragma:no-cache

Cache-control:no-cache

User-agent:mozilla/4.04[en] (win95;i; NAV)

range:bytes=554554-

The server sends the response data to the client after receiving the request as follows:

Http/1.0200ok

Date:mon,31dec200104:25:57gmt

server:apache/1.3.14 (Unix)

Content-type:text/html

Last-modified:tue,17apr200106:46:28gmt

Etag: "a030f020ac7c01:1e9f"

content-length:39725426

content-range:bytes554554-40279979/40279980

The server returns a section of the data: "Http/1.0200ok" description of the client request success, return to the server success status code, note that now the HTTP status code appears, if the server found that the client requested the page does not exist, then should return the data "http/ 1.0404OK "Below we list the common HTTP status code tables:

  

Used to help you SEO control your status code.

SEO Tips What is the use of _http status codes?

The function of the HTTP status code is to help the client (browser, search engine) understand the status of the request/response server.

SEO Tips _ How to handle HTTP status code can be more friendly with the search engine?

In the design of the website, the error page is often happen, when the search engine crawler to visit a site does not exist in a page or site URL generation rules change, will return 404 error page, so that the search engine will automatically delete the search engine information on this URL, The problem arises: if a visitor arrives at this 404 page, what do we do? We want to let go of their visitors in vain (may become their own customers), no, can not let go of this potential customers, we have also thought of the SEO solution, their own production of 404 pages, not only prompted not to find the change page, We also do a column navigation on our own 404 pages, for visitors to click again, but the production of 404 pages, not a few words can explain the white, we will specifically introduce the next section of the production of 404 pages, and to ensure that the server returned the status code is 404, but not other status code.

301 Status code for the search engine is relatively friendly, if there is to transfer weight, it is recommended to use 301 permanent positioning.

For example: You have two domain name www.xxxx.com and xxxx.com (search engine appears this is 2 domain name), in order to be able to not lose the visitor that enters seo10e in the browser, also in order to be able to transfer the weight to www.xxxx.com we should set up the server, Permanently position the xxxx.com to www.xxxx.com.

In a word, HTTP status code skills if handled well, the site optimization is beneficial, if not handled well, may reduce the weight of your site, more likely to make search attentive crawler feel your site is not very friendly.

SEO Tips _http Status code How to monitor?

There are 2 ways to monitor HTTP status codes:

1. View Web site Log

221.201.77.63--[02/jul/2006:15:30:41 +0800] "get/seoblog/2006/04/17/user-friendly-website/http/1.1″200 19031" HTTP ://www.baidu.com/s? Wd=%c2%ea%d1%c5%b2%bf%c2%e4&cl=3&tn=baiduerr″ "mozilla/4.0" (compatible; MSIE 6.0; Windows NT 5.1; SV1; Alexa Toolbar) "

221.201.77.63 This IP address requested the content of the get/seoblog/2006/04/17/user-friendly-website/http/1.1 in a GET request, and the server returned a "200" status code.

2. Through some Web site HTTP analysis software HttpWatch can see the Web site when the entire page request and response, also can see the status code. If you find that the status code problem can be resolved in time to adjust the impact of SEO optimization on search engine unfriendly factors.

Summary: HTTP status code SEO tips should pay attention to the 404 status Code and 301 status code, if the handling of bad will affect the site and search engine friendliness, forget you seoer attention, the next section we specifically explain 404 page processing, and 301 permanent turn of processing, If the master found the problem of this article, hope to be corrections.

Note: If reproduced this article hope to leave this article source: http://www.seo10e.com Thank you.

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.