mod_rewrite and site maintenance

If you’re work­ing on updat­ing or rewrit­ing a pro­duc­tion site, it may be use­ful to have a mod_rewrite rule that will auto­mat­i­cally send all traffic–except IPs you specify–to a main­te­nance page. This will let you com­mu­ni­cate to your users while still allow­ing you and your staff to work on the site unhin­dered. In this case,… Read More