Php
<?php
header(“Location: http://example.com/myOtherPage.php”);
die();
?>
Javascript
<html>
<script>
window.location.href = “http://www.allabord.com”;
</script>
</html>
<?php
header(“Location: http://example.com/myOtherPage.php”);
die();
?>
<html>
<script>
window.location.href = “http://www.allabord.com”;
</script>
</html>