/* * Redirect visitors from these sites to http:///disney.com/ * Copyright Donncha O Caoimh, http://ocaoimh.ie/ * Released under the GPL. */ $bad_referrers = array( '011831068587400451950', 'backlinkmagic.com', 'www.online-utility.org/webmaster/backlink_domain_analyzer.jsp', 'forums.digitalpoint.com/showthread.php?t=1011238', 'courtneytuttle.com/blogs-that-follow/', 'forums.digitalpoint.com/showthread.php?t=1006727', 'forums.digitalpoint.com/showthread.php?t=1003675', 'ishabhsood.net', 'rasimcoskun.com', 'smartpagerank.com' ); if ( isset( $_SERVER[ 'HTTP_REFERER' ] ) && $_SERVER[ 'HTTP_REFERER' ] != '' ) { foreach( $bad_referrers as $ref ) { if ( strstr( $_SERVER[ 'HTTP_REFERER' ], $ref ) ) { header( 'Location: http://disney.com/' ); die(); } } }