Hello I'm here to kindly ask your support. I need to redirect all EXTERNAL traffic coming from sources ending in .swf to a new site. (reason: adsense account blocked) Traffic source example http://www8.agame.com/mirror/flash/m/madpac2rabios.swf My site is http://www.ucanplay.com/ I want instant redirect to http://www.manyfreegames.com/ I also have swf games on my site and redirect should be only for external traffic! I really need your advice! Please help!
Something like this should work: RewriteEngine On RewriteCond %{HTTP_REFERER} \.swf$ RewriteRule .* http://www.manyfreegames.com/ [R=301,L] Code (markup): Just upload it to root of your ucanplay.com or add it to the end of your existing .htaccess if you already have one there. It will 301 redirect all visitors to manyfreegames.com if they have .swf at the end of referrer url.