How do I add a redirect to my web page?

=========
QUESTION
———
How do I add code to my web page to redirect the browser to another page, web site, or subdirectory?

 

=========
ANSWER
———
Enter the code in the EXAMPLES section in the <HEADER> section </header> of your web page.

 

=========
EXAMPLES
———
HTML
<meta http-equiv=”REFRESH” content=”0;url=http://www.anySiteHosting.com/Welcome/index.html”>

PHP
<?php
// Permanent redirection
header(“HTTP/1.1 301 Moved Permanently”);
header(“Location: http://www.somacon.com/”);
exit();
?>

 

=========
APPLIES TO / KEY WORDS
———
Redirect
HTML
Forward
Meta

 

=========
REF
———

 


http://www.anysitesupport.com/how-do-i-make-an-html-redirect-page/
http://anySiteHosting.com

By | 2011-05-30T06:13:23+00:00 May 30th, 2011|Documentation, HTML, Internet/Web|0 Comments