Quote:
Originally Posted by cd34
...
|
Hey, I appreciate your long post.
but you don't really know how mod_rewrite works.
There are legit no referer surfers, surfers that come to your site
by typing your url in the address bar.
Code:
RewriteEngine On
RewriteCond %{HTTP_USER_AGENT} ZangoToolbar [NC]
RewriteCond %{HTTP_REFERER} !^$
...
RewirteRule .* http://www.adwaresucks.com/zango/ [R,L]
let me translate this code for you in human language:
If the User has Zango Toolbar installed and he's comming from no referer
or from adawaresucks or from yourdomain then DON'T redirect him.
The user is redirected only if it has Zango Toolbar and its not coming from (no referer) , adwaresucks, yourdomain.com
You can easily see that all no referer users are NOT sent to the Zango page and I really don't see the reason for it.