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.
Signed up For ClickTale
We are always looking for better ways to get data from the web. Clicktale is a pretty cool product that allows you to generate heatmaps of you site and find out what people are doing. There is a free trial. Check it out. www.clicktale.com
Adding WordPress 3.0 Menu support to your older site
I have come across this a few times when updating older sites to WordPress 3.0 that the fancy new menu system in WP3.0 doesn’t work. Fortunately, this is an easy fix. First off, you will be editing your functions.php file, so make a backup! Now, add this code to your funtions.php file: add_action( ‘init’, ‘register_my_menus’…
Having Multiple Footers in wordpress
Sometimes I like to have multiple footers for a site, or at least one for the homepage and one for the rest of the site. Fortunetly, wordpress makes this really easy to do. WordPress has a special template tag for including them into your theme: This function will accept only one parameter, a string, which…