Customizing IDE Colour Scheme

komodo_scheme

After watching a video by Daniel Bachhuber, an Automattic code wrangler who’d raved about Sublime Text 2 at the end of his presentation, I thought I’d give it a try. Enter Sublime Text Sublime Text is a powerful IDE that’s also beautifully designed, super smooth and fast. I was surprised and impressed by the quality [...]

WordPress Peformance Ideas

Set no_found_rows=1 to stop WordPress from counting all posts matching the query when you don’t need pagination http://flavio.tordini.org/speed-up-wordpress-get_posts-and-query_posts-functions More about set_found_rows, transients and cron jobs http://www.colinjmorgan.com/3-quick-and-easy-performance-optimization-tips-for-wordpress/ If post meta and post terms are not required then stop WordPress from fetching them from the database and writing them to the internal cache by setting the query [...]

Website Performance Analysis and Optimization Utilities

A few tools and sites I’ve found useful when analysing and optimizing the performance of a website: Performance Analysis Tools http://www.webpagetest.org/ Free online web page testing with graphs, charts, details, numbers and suggestions. Amazing! http://developer.yahoo.com/yslow/ YSlow is a browser plugin from Yahoo that’ll anlalyse and suggest improvements. https://developers.google.com/speed/pagespeed/ Google’s Page Speed is similar to YSlow [...]

Choosing Not To Display A Form Using Gravity Forms

I’m a huge fan of Gravity Forms. SwitchWP uses Gravity a lot. Just about every project we’ve worked on has at least a basic contact form or a newsletter signup and we use Gravity for those simple tasks as well as some way bigger ones. Just recently while working on a fairly complicated project I [...]

WordCamp Toronto 2012 Presentation on Steps to Securing WordPress

You vs Evil

Prelude The information within this post was compiled and created in preparation for my WordCamp Toronto 2012 presentation titled, “Steps to Securing WordPress”. The title doesn’t quite match the content because while researching the topic I realized (actually, re-realized) that it’s better to understand the big picture than to blindly follow some steps which could [...]

Mutual Authentication for Accessing wp-admin and phpmyadmin

Configuring your web server to demand a client certificate provides another significant layer of armor worth far more than the 30 minutes it’ll take to enable this countermeasure. By using your own signing certificate your web server will only allow connections from clients that can produce a certificate signed by your root. Keep that root [...]

My website is a thing of beauty. It has received compliments from so many quarters, and it has grown steadily in its hit rate, way beyond my expectations. The site is also smoothy functional, and its functionality is a seamless aspect of its beauty, its fundamental visual appeal, rather than some awkward overlay of buttons [...]

Fixing RRD Database Spikes

I’ve run into this a few times but so intermittently that I forget the quick fix when it pops up again so here’s the quick solution so I don’t forget again. The issue is that once in a while some performance statistic spikes so far beyond the average that the graphs become unreadable. Since all [...]

Case Study – The Wellesley Institute

Screen Shot 2013-02-01 at 6.08.10 PM

SwitchWP transformed the useability of the Wellesley Institute website and increased the average visit duration by 39% while reducing the bounce rate to under 1% according to the year over year statistics gathered by Google Analytics.

Create SSL Certificate for Secure Access to wp-admin

Create a private key: # openssl genrsa -des3 -out client.key 2048 Since you’re forced to set a password for the private key, run the following commands so the private key is not encrypted with a password otherwise you need to enter the password in every time the web server restarts: # cp client.key client.key.orig # [...]