Jump to content

Запретить поиск без refrrer

Featured Replies

<IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteCond %{REQUEST_METHOD} POST
    RewriteCond %{REQUEST_URI} .(wp-comments-post|wp-login).php*
    RewriteCond %{HTTP_REFERER} !.*example.com.* [OR]
    RewriteCond %{HTTP_USER_AGENT} ^$
    RewriteRule (.*) __%{REMOTE_ADDR}/$ [R=301,L]
</ifModule>
нашел такой код
мож кто адаптирует?
Link to comment
https://ipbmafia.ru/topic/9845-zapretit-poisk-bez-refrrer/
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.


Guest
Ответить в этой теме...

Последние посетители 0

  • No registered users viewing this page.