Web Design Forum  
 
Go Back   Web Design Forum > Web and Graphic Design > Web Design

Reply
 
Thread Tools Display Modes
Old 03-07-2008, 09:35 AM   #1
xarzu
New Member
 
Join Date: Apr 2007
Posts: 9
Default redirecting a web page

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?
xarzu is offline   Reply With Quote


Old 03-08-2008, 12:31 AM   #2
frinkky
New Member
 
Join Date: Oct 2006
Posts: 15
Default

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.
frinkky is offline   Reply With Quote
Old 03-18-2008, 01:19 AM   #3
OSEKmedia
Bronze Member
 
Join Date: Feb 2008
Posts: 37
Send a message via Yahoo to OSEKmedia
Default

<script type="text/javascript">
<!--
window.location = "http://www.OSEKmedia.com/"
//-->
</script>
OSEKmedia is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 11:19 PM.


Computer Forum - Web Design Forum

Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.