PHP Redirect

Unlike the Meta Redirect, the PHP Redirect does not break the back button, and executes instantly, so the user has no idea they've been redirected.

The code's quite simple, but your browser must support PHP in order for it to work.

Simply replace URL with the URL of which you want the page to redirect to, and then you've got your very own PHP redirection. There isn't much to explain in the code, but I'll explain it anyway. First of all the '<?php' section tells the browser to switch to PHP mode. The 'header' section tells the PHP parser to execute the "header" function. The 'Location: URL' section informs the PHP parser where to redirect the page to, and the '?>' section tells the browser to switch back to normal HTML mode.