Keyword of Baidu search result page (WD | word | kW | keyword)

Source: Internet
Author: User

The most common display parameter is WD | word | kW | keyword = keyword.

Keyword of Baidu search result URL parameter (WD | word | kW | keyword)
NameWD | word | kW | keyword
Key word)
Parameter Value
The user independently enters the search term,Prompt words in Baidu search box,Related search termOrIncorrect keywords prompt correct search termAnd can contain up to 38 Chinese characters.

WD is the most common parameter for Baidu Web search. keywords are viewed on almost every website. The synonymous parameter names include word | kW | keyword.
The traditional keyword parameter value sources include manual input, pasting, selection of related search words, and correct search word prompts.
When Google launched a prompt about the keywords users wanted to enter during the input of characters, Baidu followed suit and published a search box prompt. According to our background statistics, in the search box, you are prompted that the percentage of registered website members exceeds 0.382.
The keyword prompted in the search box is a large number of keywords with a large number of syntactically inaccessible search results pages (serp), but the long tail keyword with a large number of clicks, this provides convenience for Seo to mine long tail words to bring traffic.

Baidu Web Search Keyword encoding before I know the default is Ie = gb2312, need to be converted to UTF-8 and then decoded, but when Baidu search results URL appeared parameter Ie = UTF-8 or Baidu? Can be decoded directly for UTF-8 encoding.

[PHP]

Echo "<tbody> ";

$ Keyword = $ _ post ['keyword'];
$ Keywordgb = $ _ post ['keywordg'];
If (preg_match ("/IE = UTF-8 | Baidu \? /I ", $ Baidu ))
{If (preg_match ("/(WD = | word = | kW = | keyword =) ([^ &] +)/I", $ baidudecode, $ keyword ))
Echo "<tr class = \" center \ "> <TD> keywords </TD> ". "<TD> ". $ keyword [2]. "</TD> </tr> ";}
Else
{If (preg_match ("/(WD = | word = | kW = | keyword =) ([^ &] +)/I", $ baidudecodegb, $ keywordgb ))
Echo "<tr class = \" center \ "> <TD> keywords </TD> ". "<TD> ". $ keywordgb [2]. "</TD> </tr> ";}

[/PHP]

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.