S
S
Sam Blade2020-10-14 10:48:09
htaccess
Sam Blade, 2020-10-14 10:48:09

Open only access to the site through the PS and close the direct transition .htaccess?

How to close access to the site for direct visits, and leave only transitions from search engines.

Explanation:
If a person enters through any PS, and finds it in the search, he will be able to enter the site. In other cases, there will be an inscription, the site is not available.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
N
Nikita Mikhailov, 2020-10-14
@Psixodelik

You can catch the request on the backend side and look at the value of the http referer. And from this already build everything

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question