开发者

Google search terms - a landing page with a search in it [duplicate]

开发者 https://www.devze.com 2023-01-27 05:21 出处:网络
This question already has answers here: how do you detect if your website visitor came from a google search result?
This question already has answers here: how do you detect if your website visitor came from a google search result? (6 answers) Closed 3 years ago.

I have noticed some websites can somehow "sense" what google's search term is.. But I have no idea how this happens. Looking for something in google (i.e. 'french fries') I often end up at pages that quote the search string and say there is no result for it (i.e. 'no result found for french fries'). I was wondering how this happens? I need something similar in my website as all of the information is in different places so google is having trouble putting it all together. The idea is that my website searches for the term that is being searched for in google and provides search results for the terms. How can I implement this and what is this method called (if it has a name) ?


Thanks for the answers, I want to further explain what I meant. Google seems to include pages that are generated after the search. How is this possible? The search terms are only sent when a person sea开发者_开发技巧rches for them and THEN clicks on the link. But in some cases the text "results for can not be found".. meaning google has indexed the result of the search. How does this happen ?


I have noticed some websites can somehow "sense" what google's search term is.. But I have no idea how this happens. Looking for something in google (i.e. 'french fries') I often end up at pages that quote the search string and say there is no result for it (i.e. 'no result found for french fries'). I was wondering how this happens?

Browsers may (and usually do) send a Referer (yes, it is misspelt) header that gives the URL of the page that linked to the current page. You can parse the query string of that URL to find out the search term.

I need something similar in my website as all of the information is in different places so google is having trouble putting it all together.

This suggests you need to better structure the information on your website so that search engines can find the right place. i.e. fixing the problem instead of hacking around it.

0

精彩评论

暂无评论...
验证码 换一张
取 消