redirecting a web page

xarzu

New Member
I did this once long time ago when I was first learning about HTML. But now I have forgotten how it is done. There is a way of having one HTML page redirecting and loading another page. I think it is done on the <body> tag. I remember it is something like <body onload=.... Does anyone know what I am talking about?
 

frinkky

New Member
Its the meta refresh tag you're referring to (<meta http-equiv="refresh" content="number of seconds;url=domain.com"/>). Don't forget is is considered poor practice by W3C and is not seo friendly - so no reason to use this anymore. Its preferable to set up any redirects in a .htaccess file (linux hosts) or admin panel for IIS.
 
Top