How To prevent Spam Referral Traffic from wordpress site?

I tried to solve from htaccess file but can’t success to prevent spam referral traffic from my website.
This site developed by wordpress cms.
Please know me if anyone expert
Thanks
cherie

1 Like

Just analyze what source of traffic bothering you then You’ve to bind each site manually in .htaccess file:

Use this to blog site

RewriteEngine on
RewriteCond %{HTTP_REFERER} ^http://.*domain1.com/ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http://.*domain2.com/ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http://.domain3.com/ [NC,OR]
RewriteRule ^(.
)$ – [F,L]

1 Like

Unfortunately, @hdlewis, this will solve only half of the problem --if not less.

You see, the problem is that most of these sites do not actually visit your website. Thus, the .htaccess can’t help.

It surely helps though, since it’s blocking the spammers who do visit the site. :wink: Better than nothing!..

Honestly, I did my best to explain various ways to stop referral spam here, but it’s a losing battle for various reasons. It happens because these websites are either tying to get a link from public logs of referals or they are trying to market themselves by appearing in your own personal website logs. The htaccess thing used to work. But as with all spam, it evolves to overcome counter measures and the htaccess approach does nothing to inhibit ghost referrals.

Basically, it’s type of spam you might have to live with just like you do with your email.

To prevent spam referral traffic from wordpress site the best way is described in this link.Just follow the steps to prevent spam referral traffic from wordpress site.

I use the Analyics filters. I did start by using the Referral Exclusion List, but another article on this advises against this.

BAD Advice: Use The Referral Exclusion List
A number of sites recommend using the Referral Exclusion list feature (Admin – Property – Tracking Info) — this does NOT work! While it may remove some of the annoying entries in your referral report, it may actually change the session to a Direct visit and it continues to appear in your reports.

I was getting a lot of obviously spam, direct referrals one one site, and this may be the reason. Being labelled as direct, there is no way to filter them without removing all direct traffic.
I have now cleared the exclusion list, but will have to wait and see if it works.

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.