| Type: |
Code 
|
| Level: |
Beginner
|
| Date: |
2007-Apr-11
|
| Visited: |
1985 times
|
| Rating: |

|
| Author: |
Tony Potter |
|
|
This tutorial will show you how to redirect a web page to a new location using
META redirection. This is useful in cases when you want a simple redirect to a new page or website. Also it can be used if you cannot or do not want to use other way for redirection.
To do a META forwarding create one 'hml' or 'html' file and pout the following line into it:
<META HTTP-EQUIV="refresh" content="0;URL=http:////domain.tld/folder/index.html">
Do not forget to change 'http:////domain.tld/folder/index.html' with the URL that you want ot forward to.
If you have already a page that you want to redirect the META tag must be put on its right place. This is in the '<head>' section in the file.
The next is an example where is the right place in the HTML structure.
<html>
<head>
<title>TITLE</title>
<meta 1>
<META 2>
<META HTTP-EQUIV="refresh" content="0;URL=http:////domain.tld/folder/index.html">
...
</head>
<body>
...
<body>
</html>