PDA

View Full Version : HTML Redirect Code - Redirect to another page


Hitterman
23-09-08, 11:40 PM
If you want to redirect your page to another link use this code.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title>Your title</title>
<meta http-equiv="REFRESH" content="0;url=http://www.thenewredirectedlink.com"></HEAD>
<BODY>
Additional text.
</BODY>
</HTML>

cokacola
08-10-08, 10:44 AM
thanks, will come in handy when I have already sent headers in PHP and rendered the "header" code or watver completely useless :P(well, unless I want an error for fun ofcource :P)

sachinrulez
08-10-08, 10:49 AM
yeah.....i studeied this when i was in eleventh.and one more thing hitty,can you set automatic refresh for every 15 seconds in the portal?it will help if there are any new posts.

Hitterman
08-10-08, 02:55 PM
lol It will be useless because if somebody is reading news in the portal , he may get Disturbed by the Auto Refresh:).
(Correct me if i am wrong).

sachinrulez
08-10-08, 07:48 PM
no mate.cant we make it like cricinfo where the page gets refreshed without scrolling to the top?