How To Redirect Unwanted Web Traffic
These last couple of weeks we were talking about how to handle unauthorized sharing of the information products our team sells. These include Blue Collar Millionaire among others.
If you visited that link, you were probably met with a surprise.
That’s because since it’s impossible to stop all sharing, what we decided to do was redirect all traffic that was coming from popular sharing websites. I did the test by redirecting traffic that came from this blog to those product websites, and PRESTO – it works.
If you would like to do something similar, here is the code I added to my .htaccess file. Note that you should only do this if your server is setup to do it correctly and if you know what you’re doing. You can mess your site up pretty quick if you make changes to this file without knowing what you’re doing.
So here’s the code:
RewriteCond %{http_referer} ^http://([^.]+\.)*(tylerellison)\.com
RewriteRule ^$ http://www.youtube.com/watch?v=oHg5SJYRHA0 [R=302,L]
What it does is detect the referring domain, and then redirect the visitor to a URL of my choice, in this case, the unwelcome visitor gets Rick Roll’d!
Don’t ask me anything more about this if it doesn’t work for you, it works for us – and we think it’s hilarious.