Category Archives: Plugins

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.

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

TinyPNG Plugins

Optimizing your WordPress site to be faster is good for your users, but it is also good for your search engine results. It is one of the things that is in your control. One of the best ways to optimize your PNG images is to use TinyPNG. Previously you had to manually use the site… Continue Reading

Control Automatic Updates in WordPress

One of the new features in the WordPress 3.7 is the ability for WordPress to be able to update itself. This has also been one of the more controversial features, but personally the new ability to had WordPress automatically update when a new security update is available is a fantastic idea. If you are not… Continue Reading

Lazy Load Images to Improve Page Load Speed

Great images in your blog post is great for readers, but there is a catch to using lots of images on your site. All those images can slow down how fast your website loads. There are many different ways to speed up the load time of your WordPress website but an easy way if you… Continue Reading

How to Duplicate a Post in WordPress

A question I get asked fairly often is how to duplicate a post in WordPress. There are many plugins available to do this for you but I like to use¬†Duplicate Post. Duplicate Post is a free plugin which allows you to clone a post or create a draft post based on a previous post (which… Continue Reading

Custom Post Type Sticky Posts

A project I was working on today uses custom post types for part of the content of the website. In this case though some posts in the custom post type need to be sticky. Well the client did not call it that but in the end that is what they described, those posts need to… Continue Reading

Automatically Set Featured Images

I have a love/hate relationship with featured images on WordPress. I love them but I often forget to set them. Usually I am just forgetful and end up publishing posts before I have the feature image set. That is ok for me who knows what I have done and can go back and set the… Continue Reading

Pods Framework for WordPress

I have been really busy this last week so did not get much time to write a post but I wanted to let you know what I have been working on. I have a architecture client that I am moving their current site into WordPress. That is not all that uncommon, but what is interesting… Continue Reading