E
E
elodyanov2020-10-03 12:22:09
htaccess
elodyanov, 2020-10-03 12:22:09

How to prohibit visiting a separate page for everyone who goes from the social network?

It is necessary to block everyone who goes from the Facebook social network to the site.ru/page page. Or block, at least by IP ranges, those who visit the page site.ru/page
Site on Joomla 3.
Thank you for your answers!

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Alexey Gnevyshev, 2020-10-03
@elodyanov

Approximately after the line "## Begin - Custom redirects"
try to put:

RewriteCond %{HTTP_REFERER} facebook\.com [NC]
RewriteCond %{REQUEST_URI} ^/page$
RewriteRule .* – [F]

V
Vladimir Korotenko, 2020-10-03
@firedragon

Google Facebook ip range

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question