If you frequently look at your Google analytics and notice you all of a sudden have a huge increase in traffic, you might start getting really excited. The site is finally taking off! Or is it? There is a good chance that bots have started hitting your website. So how can you find out?
First thing to do is check your referrals.
Open up Google Analytics and scroll down to Acquisition and referrals.
Now you will see your list of referrals and notice these “free-share-bottons” and get free traffic. Notice also they have a bounce rate of 100%. These are junk bots. You don’t want them on your site. There are also some different ones called site3.free-share-buttons.com. They are behaving a little different since they are spending time on your site, which is even worse because they throw off more stats. Let’s block those too.
To do this we are going to be using the HT access file on a wordpress site. This file is typically found in the root directory of the website. If you are not comfortable working with HT Access, you might want to look for another method, but it is pretty simple. The fist thing to do is make a copy of the current file and rename it – just in case. Messing up the HT Access file can mess up your site, so always have the backup.
We are just going to add this to the bottom of our HT Access. This is a pretty solid list of all the spammers I have found thus far.
SetEnvIfNoCase Via evil-spam-proxy spammer=yes
SetEnvIfNoCase Referer evil-spam-domain.com spammer=yes
SetEnvIfNoCase Referer evil-spam-keyword spammer=yes
SetEnvIfNoCase Via pinappleproxy spammer=yes
SetEnvIfNoCase Referer buttons-for-website.com spammer=yes
SetEnvIfNoCase Referer poker spammer=yes
SetEnvIfNoCase Referer simple-share-buttons.com spammer=yes
SetEnvIfNoCase Referer site33.simple-share-buttons.com spammer=yes
SetEnvIfNoCase Referer site16.simple-share-buttons.com spammer=yes
SetEnvIfNoCase Referer site20.simple-share-buttons.com spammer=yes
SetEnvIfNoCase Referer site19.simple-share-buttons.com spammer=yes
SetEnvIfNoCase Referer buttons-for-website.com spammer=yes
SetEnvIfNoCase Referer 4webmasters.org spammer=yes
SetEnvIfNoCase Referer site1.free-share-buttons.com spammer=yes
SetEnvIfNoCase Referer site2.free-share-buttons.com spammer=yes
SetEnvIfNoCase Referer site3.free-share-buttons.com spammer=yes
SetEnvIfNoCase Referer site4.free-share-buttons.com spammer=yes
SetEnvIfNoCase Referer site5.free-share-buttons.com spammer=yes
SetEnvIfNoCase Referer site6.free-share-buttons.com spammer=yes
SetEnvIfNoCase Referer free-share-buttons.com spammer=yes
SetEnvIfNoCase Referer site30.simple-share-buttons.com spammer=yes
SetEnvIfNoCase Referer site28.simple-share-buttons.com spammer=yes
SetEnvIfNoCase Referer site21.simple-share-buttons.com spammer=yes
SetEnvIfNoCase Referer site20.simple-share-buttons.com spammer=yes
SetEnvIfNoCase Referer site17.simple-share-buttons.com spammer=yes
SetEnvIfNoCase Referer site14.simple-share-buttons.com spammer=yes
SetEnvIfNoCase Referer site13.simple-share-buttons.com spammer=yes
SetEnvIfNoCase Referer site40.simple-share-buttons.com spammer=yes
SetEnvIfNoCase Referer site32.simple-share-buttons.com spammer=yes
SetEnvIfNoCase Referer site35.simple-share-buttons.com spammer=yes
SetEnvIfNoCase Referer simple-share-buttons.com spammer=yes
SetEnvIfNoCase Referer www1.social-buttons.com spammer=yes
SetEnvIfNoCase Referer site12.social-buttons.com spammer=yes
SetEnvIfNoCase Referer site14.social-buttons.com spammer=yes
SetEnvIfNoCase Referer site20.social-buttons.com spammer=yes
SetEnvIfNoCase Referer site23.social-buttons.com spammer=yes
SetEnvIfNoCase Referer site28.social-buttons.com spammer=yes
SetEnvIfNoCase Referer site34.social-buttons.com spammer=yes
SetEnvIfNoCase Referer site35.social-buttons.com spammer=yes
SetEnvIfNoCase Referer site38.social-buttons.com spammer=yes
SetEnvIfNoCase Referer social-buttons.com spammer=yes
Order allow,deny
Allow from all
Deny from env=spammer
Once you make the change, upload it back to your site and check it. If it is down, you have done something wrong. Double check your work. If it is still failing, rename your back up and upload it. You might want to talk to your hosting company. This should work for any unix based hosting service.
Styling your drop down text
With the basic wordpress install, you are able to nicely style the menu colors etc, but I have run into a problem several times where I use the same color to highlight which page I am on as the color of the background of my dropdown. So if I had a blue nav bar, my…
Contact Form 7 Clear textarea
Last time we talked about how to clear the input labels on Contact From 7 using a slight hack to the code. This is great for simply using input labels, but what about a text area? As I quickly found it, it doesn’t work. Why is doesn’t work is because the text area is controlled…
Completed Google Analytics Essentials
I just finished the Google Analytics Essential Training on Lynda.com. I thought it was well done and I did learn a few new things to help me better understand web traffic and how we can use GA to increase sales. The course is about four and a half hours, so it does take some time,…