Baidu search result page parameters (rsv_ers)

Source: Internet
Author: User

Even if you do not click related search on the baidu search result page, the rsv_ers parameter is included. Although it only appears with the related search, it is actually not closely related to the related search.

Baidu search result URL parameter switch (rsv_ers)
NameRsv_ers
Meaning next page Switch
Parameter Value
Xn0Next page not clicked
Xn1Click Next page
Xe0
Xe1
Xdt0
Xdt1
Xz
Xdz

A total of 8 parameter values are collected, but the possibility of more parameter values is not ruled out. These values can be divided into 0 and 1. It is not clear the specific meaning of rsv_ers. It is tentatively set to switch to the next page.
Common rsv_ers = xn0 indicates that you have clicked the previous page, returned to page 1st, or not clicked the next page, and directly clicked the page number on page 1st of the search result. In this case, rsv_ers = xn0.
However, if you click the next page or press Baidu twice in a row, rsv_ers = xn1 indicates that the next page is displayed.

[PHP]

$ Rsv_ers = $ _ Get ['respiratory _ ers'];
If (preg_match ("/(rsv_ers = xn0)/I", $ Baidu ))
Echo "<tr class = \" center \ "> <TD> switch from top to bottom </TD> <TD> the next page has not been clicked </TD> </tr> ";
Elseif (preg_match ("/(rsv_ers = xn1)/I", $ Baidu ))
Echo "<tr class = \" center \ "> <TD> switch from top to bottom </TD> <TD> click Next </TD> </tr> ";
Elseif (preg_match ("/(& rsv_ers =) ([^ &] +)/I", $ Baidu, $ rsv_ers ))
Echo "<tr class = \" center \ "> <TD> switch from top to bottom </TD> <TD> ". $ rsv_ers [2]. "</TD> </tr> ";

[/PHP]

Canonical attributes

ExploitationCanonicalAttribute to direct the image to the page where the image is located. The crawling of Baidu image spider solves the problem that the image page lacks content and is difficult to be indexed.

Modify in. htaccess

<Files test.jpg>
Header add link '</Files>

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.