K
K
khodos_dmitry2019-03-25 21:20:56
htaccess
khodos_dmitry, 2019-03-25 21:20:56

Why is there no redirect in htaccess?

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{HTTP_REFERER} toster\.ru [NC]
RewriteRule ^$ https://google.com [R]
</IfModule>

The referrer is transferred normally. But, no matter how I try to prohibit or redirect the transition, nothing comes of it.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question