J
J
jorshjorsh952017-07-23 11:58:09
PHP
jorshjorsh95, 2017-07-23 11:58:09

Automatic meta generation based on search query?

Hello everyone, how can you determine what search query a user came by?
Based on this, you need to change the meta t1tle ..
Please tell me

Answer the question

In order to leave comments, you need to log in

3 answer(s)
V
Viktor Yanyshev, 2017-07-23
@villiwalla

https://ru.wikipedia.org/wiki/%D0%9A%D0%BB%D0%BE%D...

D
Dmitry, 2017-07-23
@backender_ru

Let's start with the fact that HTTP_REFERER is now practically not passed and you will not know what the search query was.

X
xmoonlight, 2017-07-23
@xmoonlight

Only with the help of a request to the real-time API to the search engine (PS), the counter of which is installed on your site.
Order: visitor clicks on the link in the PS -> Your server makes a request to the PS API -> substitution and delivery of the page to the user with the necessary data.
Such an API must be implemented in advance by the search engine itself and allow such requests to be made.
Otherwise, you won't know.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question