opinion

Closing the Door

I’ve started a thread on the XBIZ boards about what to do with seriously shitty traffic; such as the Russian spammers that are hitting my mainstream board on a daily basis. There’s been some good suggestions on this thread and it’s also opened up a broader discussion; but I thought that I’d share with you one of the ways in which I’m dealing with my problem – a way in which you too can easily provide your sites with a cleaner inflow of traffic.

The basis of this approach is that it’s better to prevent problems than to fix them, so to that end; I’ll attempt to block the offending visitors at the server level, preventing them from ever entering my site. The main tool for doing this is a geo-IP redirect added to my .htaccess file:

• Asian:
RewriteCond %{ENV:GEOIP_COUNTRY_CODE} ^CN$ [NC,OR]
RewriteCond %{ENV:GEOIP_COUNTRY_CODE} ^HK$ [NC,OR]
RewriteCond %{ENV:GEOIP_COUNTRY_CODE} ^MO$ [NC,OR]
RewriteCond %{ENV:GEOIP_COUNTRY_CODE} ^MY$ [NC,OR]
RewriteCond %{ENV:GEOIP_COUNTRY_CODE} ^SG$ [NC,OR]
RewriteCond %{ENV:GEOIP_COUNTRY_CODE} ^TW$ [NC]
RewriteRule ^(.*)$ http://chinese.url [R,L]
RewriteCond %{ENV:GEOIP_COUNTRY_CODE} ^JP$ [NC]
RewriteRule ^(.*)$ http://japanese.url [R,L]
RewriteCond %{ENV:GEOIP_COUNTRY_CODE} ^KP$ [NC,OR]
RewriteCond %{ENV:GEOIP_COUNTRY_CODE} ^KR$ [NC]
RewriteRule ^(.*)$ http://korean.url [R,L]

• Illegal and/or High Fraud:
RewriteCond %{ENV:GEOIP_COUNTRY_CODE} ^AE$ [NC,OR]
RewriteCond %{ENV:GEOIP_COUNTRY_CODE} ^AF$ [NC,OR]
RewriteCond %{ENV:GEOIP_COUNTRY_CODE} ^AL$ [NC,OR]
RewriteCond %{ENV:GEOIP_COUNTRY_CODE} ^AM$ [NC,OR]
RewriteCond %{ENV:GEOIP_COUNTRY_CODE} ^AZ$ [NC,OR]
RewriteCond %{ENV:GEOIP_COUNTRY_CODE} ^BG$ [NC,OR]
RewriteCond %{ENV:GEOIP_COUNTRY_CODE} ^BH$ [NC,OR]
RewriteCond %{ENV:GEOIP_COUNTRY_CODE} ^BR$ [NC,OR]
RewriteCond %{ENV:GEOIP_COUNTRY_CODE} ^BY$ [NC,OR]
RewriteCond %{ENV:GEOIP_COUNTRY_CODE} ^CR$ [NC,OR]
RewriteCond %{ENV:GEOIP_COUNTRY_CODE} ^CU$ [NC,OR]
RewriteCond %{ENV:GEOIP_COUNTRY_CODE} ^CZ$ [NC,OR]
RewriteCond %{ENV:GEOIP_COUNTRY_CODE} ^EE$ [NC,OR]
RewriteCond %{ENV:GEOIP_COUNTRY_CODE} ^EG$ [NC,OR]
RewriteCond %{ENV:GEOIP_COUNTRY_CODE} ^GE$ [NC,OR]
RewriteCond %{ENV:GEOIP_COUNTRY_CODE} ^HR$ [NC,OR]
RewriteCond %{ENV:GEOIP_COUNTRY_CODE} ^HU$ [NC,OR]
RewriteCond %{ENV:GEOIP_COUNTRY_CODE} ^ID$ [NC,OR]
RewriteCond %{ENV:GEOIP_COUNTRY_CODE} ^IL$ [NC,OR]
RewriteCond %{ENV:GEOIP_COUNTRY_CODE} ^IN$ [NC,OR]
RewriteCond %{ENV:GEOIP_COUNTRY_CODE} ^IQ$ [NC,OR]
RewriteCond %{ENV:GEOIP_COUNTRY_CODE} ^IR$ [NC,OR]
RewriteCond %{ENV:GEOIP_COUNTRY_CODE} ^JO$ [NC,OR]
RewriteCond %{ENV:GEOIP_COUNTRY_CODE} ^KG$ [NC,OR]
RewriteCond %{ENV:GEOIP_COUNTRY_CODE} ^KH$ [NC,OR]
RewriteCond %{ENV:GEOIP_COUNTRY_CODE} ^KW$ [NC,OR]
RewriteCond %{ENV:GEOIP_COUNTRY_CODE} ^KZ$ [NC,OR]
RewriteCond %{ENV:GEOIP_COUNTRY_CODE} ^LA$ [NC,OR]
RewriteCond %{ENV:GEOIP_COUNTRY_CODE} ^LB$ [NC,OR]
RewriteCond %{ENV:GEOIP_COUNTRY_CODE} ^LT$ [NC,OR]
RewriteCond %{ENV:GEOIP_COUNTRY_CODE} ^LV$ [NC,OR]
RewriteCond %{ENV:GEOIP_COUNTRY_CODE} ^LY$ [NC,OR]
RewriteCond %{ENV:GEOIP_COUNTRY_CODE} ^MD$ [NC,OR]
RewriteCond %{ENV:GEOIP_COUNTRY_CODE} ^OM$ [NC,OR]
RewriteCond %{ENV:GEOIP_COUNTRY_CODE} ^PH$ [NC,OR]
RewriteCond %{ENV:GEOIP_COUNTRY_CODE} ^PK$ [NC,OR]
RewriteCond %{ENV:GEOIP_COUNTRY_CODE} ^QA$ [NC,OR]
RewriteCond %{ENV:GEOIP_COUNTRY_CODE} ^RO$ [NC,OR]
RewriteCond %{ENV:GEOIP_COUNTRY_CODE} ^RU$ [NC,OR]
RewriteCond %{ENV:GEOIP_COUNTRY_CODE} ^SA$ [NC,OR]
RewriteCond %{ENV:GEOIP_COUNTRY_CODE} ^SD$ [NC,OR]
RewriteCond %{ENV:GEOIP_COUNTRY_CODE} ^SI$ [NC,OR]
RewriteCond %{ENV:GEOIP_COUNTRY_CODE} ^SK$ [NC,OR]
RewriteCond %{ENV:GEOIP_COUNTRY_CODE} ^SY$ [NC,OR]
RewriteCond %{ENV:GEOIP_COUNTRY_CODE} ^TH$ [NC,OR]
RewriteCond %{ENV:GEOIP_COUNTRY_CODE} ^TJ$ [NC,OR]
RewriteCond %{ENV:GEOIP_COUNTRY_CODE} ^TM$ [NC,OR]
RewriteCond %{ENV:GEOIP_COUNTRY_CODE} ^TN$ [NC,OR]
RewriteCond %{ENV:GEOIP_COUNTRY_CODE} ^TR$ [NC,OR]
RewriteCond %{ENV:GEOIP_COUNTRY_CODE} ^UA$ [NC,OR]
RewriteCond %{ENV:GEOIP_COUNTRY_CODE} ^UZ$ [NC,OR]
RewriteCond %{ENV:GEOIP_COUNTRY_CODE} ^VN$ [NC,OR]
RewriteCond %{ENV:GEOIP_COUNTRY_CODE} ^YE$ [NC,OR]
RewriteCond %{ENV:GEOIP_COUNTRY_CODE} ^YU$ [NC]
RewriteRule ^(.*)$ http://garbage.url [R,L]

This code, which you can copy and paste, allows for separate targeting of Asian traffic with redirects to Chinese, Japanese and Korean websites, while blocking “high fraud” countries, redirecting them to a “garbage” URL.

You can find a list of the country codes that you'll need to build your own list here.

As I said, this is the main tool, but not necessarily the only tool. Criminals will often use proxy and other no-referrer means of hitting your site and this must be dealt with as well, but that’s a story for another day.

Copyright © 2024 Adnet Media. All Rights Reserved. XBIZ is a trademark of Adnet Media.
Reproduction in whole or in part in any form or medium without express written permission is prohibited.

More Articles

opinion

Staying Safe Online and in Person as a Creator

Years of content, all gone. Thousands of dollars’ worth of equipment, gone. Feeling safe in your own home? Guess what: also gone. Luckily, my friend was able to move, but she never recovered her stolen property, even after she found out who broke into her home.

SmartyKat314 ·
profile

WIA Profile: Tori Titus-McCrobie

What happens in paradise, stays in paradise — and Tori Titus-McCrobie won’t be leaving her tropical island of career perfection anytime soon. The longtime sales director has found happiness in selling lubricants, sex toys and condoms to fantastic folks.

Women In Adult ·
opinion

Managing Personal Risk as a Sex Worker Advocate

Everyone in the adult industry is feeling the effects of censorship and discrimination, but it’s sex workers who take the biggest hit when our livelihoods are under attack. If you feel compelled to do something in defense of our industry, there are lots of ways to take action.

Savannah Sly ·
profile

Bonner Trading USA's Ian Kulp Shares His Ambitions for BSwish, Zini Brands

Last year saw the launch of Bonner Trading USA, with Jerome Bensimon, formerly of Satisfyer, at the company’s helm. With the recent addition of Ian Kulp as global sales and marketing director, the company has increased its presence in the U.S. and abroad with new distribution deals and the acquisition of pleasure brands BSwish and Zini.

Kim Airs ·
opinion

Fresh SFW Content Ideas to Amp Up Your Brand

If you’re a content creator, then you have probably found yourself wondering, “How can I make my content stand out on my free pages and SFW socials — without crossing any lines or getting banned?” Well, buckle up because I’ve got some fabulous safe-for-work content ideas that will have your audience begging for more.

Megan Stokes ·
opinion

Verbal and Nonverbal Techniques for Online Erotic Domination

Mastering the craft of online domination requires an adept understanding of the art of seduction, utilizing not only explicit physical cues such as seductive body language, but also persuasive and potent words strategically delivered.

Stella Sol ·
profile

Hailey Rose & Max Fills: Swingers Turned Creator Superstars

Hailey Rose and Max Fills first met during their last year of college at UC Santa Cruz, riding the same bus to and from lectures. They had both recently gotten out of long-term monogamous relationships, so at first they just began hooking up casually. But after graduating and moving down to LA, they continued to see each other — and could not help but eventually fall in love.

Alejandro Freixes ·
profile

Xgen Products CEO Andy Green Reflects on Company's 15 Years

Reflecting upon the past 15 years, during which XGEN Products grew from a relatively small distributor into a multi-brand manufacturer with 20 of its own brands and 3,000 items it sells worldwide, CEO Andy Green’s expression is nearly one of disbelief.

Colleen Godin ·
trends

AI Is Coming: A Look at What's Ahead and Its Implications

The AI era has dawned, and the impact of this technology is beginning to be felt in the online adult industry. We are already seeing a plethora of content, synthetic interactions and customizable avatars enabled by artificial intelligence.

Alejandro Freixes ·
opinion

A Guide to Sustainable Pleasure Product Merchandising

Sustainable practices are no longer merely an option for the pleasure industry, but an imperative response to consumer expectations. Just as in other sectors, the resounding call for sustainability has reached unprecedented levels.

Eric Lee ·
Show More