Mobile app version of vmapp.org
Login or Join
Sent6035632

: Disallow redirects from another site A less than reputable site is redirecting to mine. Short of taking legal action, is there a way to prevent this from happening?

@Sent6035632

Posted in: #Redirects

A less than reputable site is redirecting to mine. Short of taking legal action, is there a way to prevent this from happening?

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Sent6035632

1 Comments

Sorted by latest first Latest Oldest Best

 

@Goswami781

Since you didn't say what server, assuming it is Apache and mod_rewrite is enabled

To set-up block a single referrer, create a .htaccess file and include the following text:

RewriteEngine on
RewriteCond %{HTTP_REFERER} otherdomain.com [NC]
RewriteRule .* - [F]

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme