.htaccess Maintenance Redirect

Today I will show you how to create a redirect when needing to place a site under maintenance. The method I prefer to use involves .htaccess. By using the following code within a .htaccess file, you will be able to direct visitors to a maintenance page no matter which part of your site they request. … Read more

WordPress: Alter Generator Tag

By default, WordPress adds a “generator” meta tag to your site header HTML. The content of the tag contains “WordPress” and the version you are running. For example: WordPress 3.1.3 With a simple edit of your theme functions.php file, you can either remove or alter this tag to add a small, additional layer of security. … Read more

Pastebin.ca PHP API

In my boredom, I find I do a lot of things. Some of those things range from very silly to intense coding sessions. So, out of boredom tonight, I have built a script to use the Pastebin.ca API to make pastes remotely. Below you will find the code and an example. Let me know if … Read more

Site/Blog Update

After giving it some thought, I have updated the blog and removed several posts. This is why you will see a rather large gap between the first post and my most recent one. I will not go into details why but I plan to try and focus on client and programming oriented posts. Look for … Read more