Nodejs and MySQL json feed

If you’ve got experience of using Javascript I can’t recommend trying your hand at node.js more. It’s really versatile and easy to pick up, with it’s modern architecture it performs really well on processing a lot of information through things like feeds and can integrate well with a website built with a LAMP setup. For […]

Running node.js along side a website using Apache

Node.js doesn’t need apache to run but if you’re running a node.js script on the same server along side the rest of your website we can set this up with some basic apache config. Node.js will probably be running on it’s own port so make note of what that is. Take a look at your […]

Install Node.js on Ubuntu

Node.js is an amazing piece of technology for helping you develop scale-able mobile friendly websites and apps. It’s growing in popularity massively due to it’s logical and modern approach to web programming. Where as before you would need to learn something like Javascript for front end development and PHP for back end, Node lets you […]

WordPress HTML sitemap without a plugin

Being a WordPress user of many years I’ve found not much can go wrong with the open source CMS but when you have too many plug-ins it can be hard to keep them up to date. Where possible I always try to build a site which wont rely on them the main reasons for this […]

Wordress – Add a search form to individual category pages

This will be really helpful on WordPress websites which have thousands of pages. Even if they are categorised it can be hard to find a post. This code will add a search box to the top of the archive / category pages. The search box will then only display results for that specific category. There […]

Awesome Cloud web hosting with SSD HD for $5 a month

Being a web developer for the last fifteen years it’s hard to think I got along for so long without Digital Ocean web hosting. I’ve been using them for about two years and have been the only host in all my time of making websites I haven’t had a problem with. I’m guessing the support […]

Auto update multiple installs of WordPress with cron/ssh via bash script

With WordPress being updated more frequently than ever with new security fixes and features it’s important to keep you site up to date with the lates version of WordPress. Running one update is easy and quick enough but if you have a dozen or more WordPress sites on one server you can update them all […]

Ubuntu auto restart cron for Apache and Mysql after crash

Websites never sleep but you may want to, this script lets you do that without having to worry about Apache or Mysql crashing randomly. Obviously if you have reoccurring issues its best to check through the log files and fix any issues but this will help reduce down time on vital software crashes to less […]

Apache MaxClients

Working with Ubuntu or any other Linux distribution you really do learn something new every day. Yesterday one of my servers looked like Apache had Crashed. Symptoms: Loading a web page wont return a 404 or 500 error just a blank page Restarting Apache will help for a minute or two It’s a reoccurring issue […]

PHP Spam Blocker

If you have a problem with Bot user’s and spam in WordPress the best solution is setting up Akismet. It’s an easy to use plug-in that just needs an API key. For Bespoke websites there isn’t a one click plug-in but there is a super easy to use Bot database called BotScout with an API […]

Easy CSS compatability

For every web developer / designer the issues in earlier versions of IE can be a real pain. Even simple styling such as margins and padding can make a design look like it’s upside down. The obvious hacks for CSS involve using a separate style sheet and the old school <!– if IE–> but I […]

PHP and dynamic URLs

Whenever I make a new website now I always think about what the urls will need to be like. Most off the shelf CMS platforms will have a plug in or option to enables similar functionality.  But if your writing the site yourself you will want to be able to convert URL from post Id’s […]