Redirecting users

PHP Method
Using PHP to redirect users

Simply write:
header("location: newpage.php");

NOTE: Must be the first output to the browser

Example: 1-phpMethod.php
Javascript/HTML Method
Using HTML to redirect the user

This is HTML code found on your page, it allows for delayed redirection.
<meta http-equiv="refresh" content="2;URL='https://google.ca" />

NOTE: 2 refers to the number of seconds delay

Example: 2-htmlMethod.php