Dynadot Aftermarket: discover domain gems worth investing in. Visit our aftermarket.

RewriteEngine help needed please?

SpaceshipSpaceship
SpaceshipSpaceship
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
Close
The views expressed on this page by users and staff are their own, not those of NamePros.
GoDaddyGoDaddy
CatchedCatched

We're social

Escrow.com
Spaceship
Domain Recover
CryptoExchange.com

NamePros updates

A browser tab with a favicon next to the page title
Search members
You can now search for members by name, company, location and more. Open the search at the top of any page and choose Members. You will...
AIVikings
Catchy
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back