<?php if (!headers_sent()) { header('Location: /'); exit(); }