B
B
bomboksad2020-10-04 00:26:34
URL Handling
bomboksad, 2020-10-04 00:26:34

How to set up a redirect so that the site opens only when you go to it from Yandex search?

Found a site in the top for a specific request. I studied it to the best of my knowledge.
In fact, I see that the site has a 301 redirect, which works when you go to it from the yandex.ru search.
If the site is simply opened in a browser (by simply writing the domain in the address bar), a 500 internal Server Error pops up.
How to implement it?
Thank you.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
dollar, 2020-10-04
@dollar

Check http referer

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question