Meta Redirect
The Meta Redirect - also known as Meta Refresh - is a common URL Redirect that makes it possible to lead visitors from a given URL to another automatically.
Therefore the browser is informed to refresh the web page and load the alternative URL after the time that is defined.
In order to achieve this the new URL has to be included in the refresh parameters.
It is also possible to choose the time interval for the redirect.
Although setting this interval to 0 or a very short time will make the redirect almost undetectable but it is not advised b the 3WC because it can cause problems if the user hits the "Back" button.
Instead of getting back to the previous page the redirect is activated again so that the user is trapped in a loop that continuously reloads the page he wants to leave.
In order to achieve this the new URL has to be included in the refresh parameters.
It is also possible to choose the time interval for the redirect.
Although setting this interval to 0 or a very short time will make the redirect almost undetectable but it is not advised b the 3WC because it can cause problems if the user hits the "Back" button.
Instead of getting back to the previous page the redirect is activated again so that the user is trapped in a loop that continuously reloads the page he wants to leave.
Meta Redirect Examples
Refresh page after 5 seconds:
<meta http-equiv="refresh" content="5"/>
meta
The HTML tag that is located in the section of the page
http-equiv="refresh"
The command for the webserver that defines that the page will be reloaded
content="5"
The time in seconds after the browser will reload the page
The redirect syntax to another page is similar to the meta refresh shown above but with the target page added.
Redirect to yourdomain.com after 5 seconds:
<meta http-equiv="refresh" content="5;url=http://yourdomain.com"/>
Redirect to yourdomain.com immediately:
<meta http-equiv="refresh" content="0;url=http://yourdomain.com"/>
<meta http-equiv="refresh" content="5"/>
meta
The HTML tag that is located in the section of the page
http-equiv="refresh"
The command for the webserver that defines that the page will be reloaded
content="5"
The time in seconds after the browser will reload the page
The redirect syntax to another page is similar to the meta refresh shown above but with the target page added.
Redirect to yourdomain.com after 5 seconds:
<meta http-equiv="refresh" content="5;url=http://yourdomain.com"/>
Redirect to yourdomain.com immediately:
<meta http-equiv="refresh" content="0;url=http://yourdomain.com"/>

