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]