RewriteEngine help needed please?

SpaceshipSpaceship
Watch

ZuraX

Established Member
Impact
42
Can anyone help me out? I need to block 2 sites from sending me traffic....

This works...
RewriteEngine On
RewriteCond %{HTTP_REFERER} ^http://www.abc.com/.*$ [NC]
ReWriteRule .* http://www.zurax.com/portal2.php [R,L]


This doesnt...
RewriteEngine On
RewriteCond %{HTTP_REFERER} ^http://www.abc.com/.*$ [NC] [OR]
RewriteCond %{HTTP_REFERER} ^http://www.123.com/.*$ [NC]
ReWriteRule .* http://www.zurax.com/portal2.php [R,L]

Nor this...
RewriteEngine On
RewriteCond %{HTTP_REFERER} ^http://www.abc.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} ^http://www.123.com/.*$ [NC]
ReWriteRule .* http://www.zurax.com/portal2.php [R,L]
 
0
•••
The views expressed on this page by users and staff are their own, not those of NamePros.
Unstoppable Domains — AI StorefrontUnstoppable Domains — AI Storefront
Dynadot — .com TransferDynadot — .com Transfer
Appraise.net

We're social

Escrow.com
Spaceship
Rexus Domain
CryptoExchange.com
Domain Recover
CatchDoms
DomDB
NameFit
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back