K
K
Khurshed Abdujalil2017-06-06 10:31:14
System administration
Khurshed Abdujalil, 2017-06-06 10:31:14

How to solve 400 error when switching from Yandex?

a strange moment when we go from yanedx
https://yandex.ru/search/?text=site%3Ajobreal.ru&lr=65 using the site links gives a 400 error in chrome and in opera while I observe such an error, in ff everything works fine. + If you copy the link that you clicked on and paste it into a new tab and go, then everything will work. The admins say that the problem is on the part of the programmers, the 400 error is not set anywhere in the code, and the left cookies are not written. In incognito it also gives an error
In Google there are no such problems and everything opens
Which way to look? Server settings or is there a problem in the code?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
H
Host-Eiweb, 2017-06-06
@Host-Eiweb

Check if there is a ban on transitions from a certain site, in this case yandex.ru.
Such a ban can be registered in Nginx, something like this:

if ($http_referer ~* "yandex\.ru") {
return 400;
}

or for Apache in .htaccess
There are no problems when migrating from yandex.com.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question