Different ways to redirect one page to another, this tutorial describes that. You can use different programming/scripting languages to achieve this.
We can use server side programming language or client side scripting language like HTML, Javascript.
Redirect using PHP
<?php
header(“Location:https://www.tutsplanet.com”);
exit;
Redirect using HTML meta tag
<meta http-equiv=”refresh” content=”5;url=https://www.tutsplanet.com”>
Redirect using Javascript timeout function
setTimeout(function () {
window.location.href= ‘https://www.tutsplanet.com’},3000);
}
Leave a Reply