Answer the question
In order to leave comments, you need to log in
How to properly set up cloaking conditions through .htaccess?
Hello.
Please tell me how to properly set up cloaking through .htaccess
The conditions are as follows: Yandex bots and Google bots need to be allowed on the main page (site.ru) and show the site as it is.
Users who have moved to the site by direct url (site.ru) display an empty page with the text "Ala cloaking"
But if the user went to the site (site.ru) from a Yandex or Google search, then send it to the subdomain of the site (two-site.ru)
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question