Category Archives: Tips

Display a Site Maintenance Page Using .htaccess and mod_rewrite

Have you ever wanted to display a maintenance page to all of the visitors to your site, whilst still being able to view it as normal yourself?

This small snippet will do just that, as the title suggests it requires a .htaccess file and mod_rewrite so it’ll only work with Apache servers that have the mod_rewrite module enabled.
Continue reading