<meta http-equiv="Refresh" content="0; URL=URLHERE">
The HTML version is pretty fail-proof, but is probably one of the “slower” redirectors. To use this, change the number in content=”0″; to however many seconds you would like it to delay the page for. You will want to delay the page if you have a banner or something written on the page that says “Sorry the page you are looking for is not available. Redirecting back to ______”. If you want it to redirect the page straight away, then simply leave it as 0.
URLHERE to the one that you would like to use.
//Put the URL of the page you wish to redirect to below
This must go at the top of the page, or before any text or echo’s are called, or else it will not work. It is considered a lot faster than HTML, which is why it’s often used more. Simply change the
URLHERE to the URL you would like to be redirected to. You may need to find out from your host if PHP is allowed. the PHP method is the most preferred and fastest as the server starts processing the request before anything else can be sent to the browser.
Fun Fact: If you try to view the source of the page that has the redirecting codes, it will show you the source codes of the page it’s being redirected to instead.
window.location = "URLHERE";
URLHERE to the URL you want the page to be redirected to.