Old Post Slug — WordPress Removal and Cleanup
When you make a change to a post slug permalink after its been published, WordPress will automatically redirect it to the new post slug (doing a 301 redirect). This works well, but sometimes you want no existence of the old post slug. These SQL statements will help you cleanup your old post slugs.
UTF-8 in MySQL — Solving UTF-8 Issues in MySQL
UTF-8 and MySQL can be tricky. Sometimes the problem isn’t noticed right away. Here is how I solved my recent encounter with UTF-8 issues and MySQL.
PHP Multi Dimensional Array Combinations
This PHP function will take a multi dimensional array and create all its possible combinations (not permutations). I used this function in debug code, but I can see its use in many other cases.
WordPress Plugin Internationalization (i18n) Localization (L10n)
Internationalizing your plugin is not difficult. All the information you need is out there and the WordPress Codex is very good resource, but I thought I’d sum it up for those who need the quick skinny on the matter.
How to Setup a Firewall to Secure Your Linux Server
Setting up a firewall is the second thing you should do immediately following the setup of your linux server (the first should be to Secure SSH Login). Learn how to do both.
WordPress Migration
Moving WordPress sites from host to host isn’t as difficult as you may think. Following these simple steps will help guide you through the entire process: copy/move site files, copy/move the database, and most importantly update your database/table values with this special MySQL query.
Windows Apache PHP FastCGI Setup
If you’re like me, you prefer installing Apache and PHP on your own without the use of WAMPServer. The goal is to setup the latest Apache server with PHP 5 and PHP 4 using FastCGI.