CloudGuard

It was not long ago that I was looking for a way to block visitors from some countries on some of my clients websites. The sites really only needed to be accessible from North America and did not need to be exposed to the extra visitors, bandwidth and possible hackers that might just want to hack their websites for fun. Since I setup all my clients with CloudFlare now it is possible to turn on IP Geolocation in CloudFlare to know what country users are from, but unless you are an enterprise customer with CloudFlare you cannot outright block a whole country.

I had been using a simple PHP function on my customers websites to simply look for the CloudFlare IP Geolocation header and if the person was not from the country that was not allowed I was blocking them, but had never gotten around to turning it into a full blown WordPress plugin. Now thanks to CloudGuard I can retire my quick test and use their plugin to only allow visitors from the countries we want to be able to access a website.

Using CloudGuard you can simply whitelist the countries you want to be able to login to the website and know that the rest will be blocked. You even get a nice map showing you the countries that have been blocked.

The plugin has cut down on the number of hacking attempts on WordPress considerably and it is very easy to use if you are a CloudFlare user, even free users are able to use it. Just a matter of turning on the IP Geolocation in CloudFlare so CLoudGuard can read the location header that CloudFlare adds to a visitor when they visit your website. The only feature that might be nice to have on CloudGuard would be the ability to block people not just from the login but from the whole website altogether.

If you want to cut down on the number of hacking attempts and limit access to your WordPress login to a country or two and are a CloudFlare user as well I suggest you give CloudGuard a try. It has been a great help since I installed it on clients websites.

Download it at the WordPress plugin repository.

Kaltura Community Edition

TL;DR version: Don’t waste your time. Kaltura server is prone to problems and the player simply doesn’t work reliably on a number of platforms. Video has become an important part of many websites, and for some YouTube simply does not cut it any more. Not using YouTube for video though can be expensive, in fact… Continue Reading

Your Website Sucks!

I am very sorry to be the bearer of bad news but I need to be honest with you about your website. IT SUCKS! I know you have spent hours, well at least 30 minutes, working on your website, and I know you are very proud of it but the reality is it sucks and… Continue Reading

UTF8 Sanitize

There are times when little problems pop up using WordPress that you just might not expect. Most users don’t know or care about what character encoding their computer and browser are using but when that character encoding is different from what WordPress uses it can lead to some odd problems. Usually the tell tale sign… Continue Reading

Spam, Spam and More Spam

As long as there has been the ability to leave comments on websites there has been spam. I recall creating a guestbook for a client once and even though the guestbook used a captcha it did not take long before it started to become overwhelmed with spammy comments. Fighting spam has become so difficult in… Continue Reading

10 Session Recording and Heatmap Tools

I just recently got back from Disneyland with my family and if there is one thing Disneyland does well it is managing crowds and people in the parks and rides. I am sure Disney does a great deal of testing to discover how best to manage the people and crowds at their parks and that… Continue Reading

Get Serious or Go Home!

One of the pieces of advice I usually give people about their website is to take it seriously. Think about it, your website is the public face of your business to the world if you don’t take it seriously then why would anyone else take you seriously. It can be hard to take your website… Continue Reading

Slow WordPress Queries

I love working with WordPress, it makes so many things easier for clients and it gives me as a web developer a great deal of flexibility to extend and offer to clients what they need for their websites. Unfortunately there are also times working with WordPress makes me scratch my head, this was one of… Continue Reading