Use htaccess to redirect to a Down For Maintenance page

October 30, 2011 in Apache & htaccess, Programming, Tutorials by admin

Web developers will no doubt need to limit access to their websites during a maintenance time when files are being updated on the server. You have probably seen these pages on various websites with the page decorated in funny images and quotes letting you know the website is offline. There is a really easy way to redirect your website visitors to a maintenance page with only a few lines of text.

Create your own URL shortener with PHP

December 21, 2010 in PHP, Programming, Tutorials by admin

Link shortening websites have been popping up all over the web with the huge explosion in micro blogging requiring a character limit in posts. Sites like have become an integral part of twitter in order to maximize the quality of posts. If you are reading this article you probably already know this and just want to know how they are able to shrink down large links and transform them into a very tiny one. We can achieve this with PHP, and the hardest part can be done in just one line of code. Yes it really is that simple.

SEO Friendly Clean URLs with mod_rewrite Underscore to dash

August 15, 2010 in Search Engine Optimization, Tutorials by admin

Many people have a really hard time finding a way to generate clean links for their site. Everyone wants to increase their search engine optimization and this is one of the absolute best ways to do it. In this example we will remove the .php from our file name and then turn all underscores into dashes.