MyBB Community Forums

Full Version: Meta Redirect (with timeout)
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
No Javascript, very basic XHTML. This will simply redirect the user to the specified page after specified timeout.

Add this single line to your page's head area and you are done:

<meta http-equiv="refresh" content="15; URL=home.html">

1. You can change the target page as you wish (like "index.php").
2. Change the no. 15 to whatever seconds delay required.
3. Use the same page address (like index.html in the head of index.html) to convert it to an auto refresh trick.
Thank you so much, now i don't need to make refresh Smile)
This code is better:
<meta http-equiv=”refresh” content=”300" />
It'll just refresh, won't redirect.

Oops! Sorry, ignore me, I'm off-topic.