Make sure that you put the code in the very top op you page.
Nothing that creates ouput such as the echo or print function, or html can be above it.
Code should be pretty self explanatory.
Hope this helps.
Nothing that creates ouput such as the echo or print function, or html can be above it.
PHP:
<?php
header("Location: http://yoursite.com");
?>
Code should be pretty self explanatory.
Hope this helps.