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.

Get PHP to work in HTML files (.html) with htaccess

November 14, 2010 in Apache & htaccess, Tutorials by admin

If you have ever wondered how people are able to execute PHP in .html files, the trick is easy and works with the .htaccess file. The .htaccess allows us to do many customizations with how we can display our urls.