I was having some issues on a server which ultimately lead to some very dire system resource issues, I quickly discovered that the issue was originating due to file locks as multiple processes where accessing and modifying the same files repeatedly all at the same time. It was quite embarrassing to have created such an […]


One of the biggest SEO requirements is for images to have an ALT attribute for indexing and usability purposes, unfortunately when making posts most often ALT attributes are not set leading to lots and lots of posts with images missing their ALT attributes. I wrote a small function that will capture the page before output […]


WordPress has an annoying feature where it creates a page for every single attachment in your WordPress system, including images, audio/video, pdf’s and etc. I don’t see any reason for this functionality as usually attachments are embedded into pages and posts and should never have their own page. Whats even worse is that by default […]


Recently I needed to search the server and find all error_log files, but I needed to also list the size of each file that was found – the purpose of this was to find users with unnatually large error logs so that I oculd tweak the error_reporting settings on each system. I managed to find […]


Today I needed a solution to a problem, my designer had designed a fantastic category page for a clients eCommerce store, the category page featured rows of 5 products, which on firth thinking I thought I could get away with maybe 4 in a row or perhaps even 6 in a row. Unfortunately 4 meant […]


If like me you have a serious problem with recurring SPAM by companies who just keep emailing you asking you if you have read their previous email and that the “great proposal” they made before is still available; then you may be looking to block email addresses by domain name. This sort of SPAM is […]


We have two blogs that we actively use for developer related content, this blog “” which is my personal blog and WebDesires Blog. The problem is that sometimes posts are relevant for both websites and anyone who knows about Google and their duplicate content policy knows how serious it can be to do this incorrectly. […]


on cPanel / WHM servers for some reason PHPMyAdmin has a ridiculously low upload_max_filesize setting of usually 50MB, this makes PHPMyAdmin useless for large SQL imports, especially with systems such as Magento where databases can be 900MB+. Fortunately you can increase this limit to something more useful, to be able to do this though you […]

Shares 1