View Single Post
Old 10-07-2007, 08:15 PM  
GrouchyAdmin
Now choke yourself!
 
GrouchyAdmin's Avatar
 
Industry Role:
Join Date: Apr 2006
Posts: 12,085
Quote:
Originally Posted by babydred View Post
Code:
<IfModule mod_rewrite.c>
  RewriteEngine On 
  RewriteCond %{HTTP_USER_AGENT} zango [NC] 
  RewriteRule ^(.*)$ http://www.yoururl.com/fuckzango_page.html [R=302,L]
</IfModule>
This (fixed) code will redirect anyone who has 'zango' in their User-Agent, and sends a 302 which tells the browser to basically continue to using the original URL. This won't break bookmarks.
__________________
GrouchyAdmin is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote