|
|
|
||||
|
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() |
|
|||||||
| Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
|
Thread Tools |
|
|
#1 |
|
Guest
Posts: n/a
|
I would like to redirect all hits coming from URLs starting with
http://p105.ezboard.com/fbannedbroadsboardfrm to a custom page... how would I go about that? Would this work: RewriteCond %{HTTP_REFERER} http://p105.ezboard.com/fbannedbroadsboardfrm [NC] RewriteRule .* http://www.domain.com/custom.html [R=301,L] |
|
|
|
#2 |
|
Guest
Posts: n/a
|
I doubt it will, there is some regex missing. Anyone able to help?
|
|
|
|
#3 |
|
►SouthOfHeaven
Join Date: Jun 2004
Location: PlanetEarth MyBoardRank: GerbilMaster My-Penis-Size: extralarge MyWeapon: Computer
Posts: 28,609
|
i know you asked for htaccess but here a java to do it
if(top.document.referrer.indexOf("ezboard") == -1 && top.document.referrer.indexOf("?") == -1) { } else { top.location.href='http://sendthemhere.com';top.location.href='http://sendthemhere.com'; }
__________________
hatisblack at yahoo.com |
|
|
|
|
|
#4 |
|
Guest
Posts: n/a
|
Thanks Smokey, I found the answer:
RewriteEngine on RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?p105.ezboard.com/fbannedbroadsboardfrm.*$ [NC] RewriteRule .* http://www.google.com [R,L] |
|