Fight Back Against WordPress Comment Spam with a HTTP_REFERER Check

Fight Back Against WordPress Comment Spam with a HTTP_REFERER Check

For those that use WordPress, comment spam is a huge problem. There are lot of good ways to combat comment spam, and many plugins that help with the issue; however, they don’t always stop the spammer before they submit the comment, and generally rely on categorization into appropriate areas for further moderation or removal. I decided to leverage the following Apache rewrite directives that take advantage of the HTTP_REFERER header to ensure that comment submissions are actually originating from my web site.

[ Read More ]

Disabling or Limiting Post Revisions in WordPress

Disabling or Limiting Post Revisions in WordPress

One of the great features that WordPress has to offer its users is revision management. WordPress will automatically create a new revision every time you save a post, or whenever you preview it. For most WordPress installations, controlling revisions will not be required, and they won’t require maintenance. For larger sites, or sites that are very space constrained, you can limit or disable the revision management functionality of WordPress.

[ Read More ]

Adding the Buffer Share Button to WordPress Using Jetpack

Adding the Buffer Share Button to WordPress Using Jetpack

I started investigating the addition of the Buffer button to my social sharing bar, and as I’m currently using Jetpack and its sharing features, I wanted to ensure I could add the Buffer button for visibility on my posts. Jetpack does allow the addition of additional sharing services through its Sharing configuration page, and I’ll be documenting the steps to add Buffer as a new service.

[ Read More ]

CodeIgniter CLI (Command Line Interface)

CodeIgniter CLI (Command Line Interface)

One of the things that I absolutely love about CodeIgniter is the ability to use it with the command line. It seems like every site or application I write has a need for a cron job, and I find that by writing a writing a new cron controller that can be executed from the command line and leveraging the existing pieces of code that I have already written saves time and effort.

[ Read More ]