REAL simple HTML query  | |
December 23rd, 2003, 09:56 PM
|
#1 (permalink)
| | Senior Member
Join Date: May 2002 Location: Rocky Mountain High
Posts: 613
| REAL simple HTML query
Greetings all,
I have a real basic question that isn't in my HTML book (it's pretty old  ) and I seem to be google retarded today:
What is the best way to do a redirect on a webpage. I have a free webspace that I have used for a long time, and now I want to send that traffic to my new webserver that I just set up.
Is it best to do this in HTML, Javascript, voodoo magic?
TIA 
__________________
Talking in numbers doesn't make you smarter.
|
| |
December 23rd, 2003, 10:11 PM
|
#2 (permalink)
| | Ultimate Member
Join Date: Oct 2001 Location: Michigan
Posts: 1,769
|
This should work. The '3' is the time in seconds that it will wait
<HEAD>
<META HTTP-EQUIV="Refresh" CONTENT="3;URL=http://www.yoursite.com">
</HEAD> |
| |
December 23rd, 2003, 10:46 PM
|
#3 (permalink)
| | Anime Otaku
Join Date: Oct 2001 Location: Tampa, FL USA
Posts: 108,980
|
CONTENT="3 " 
__________________ Robert Richmond | TechIMO Community Relations Director
Infinite perceptions. One reality. FanFiction.Net - Unleash your imagination. |
| |
December 23rd, 2003, 11:15 PM
|
#4 (permalink)
| | Ultimate Member
Join Date: Oct 2001 Location: Michigan
Posts: 1,769
| |
| |
December 23rd, 2003, 11:20 PM
|
#5 (permalink)
| | Senior Member
Join Date: May 2002 Location: Rocky Mountain High
Posts: 613
|
MSDN and other sites show the content tag without any quotes (making sense since it is not interpreted as a text string).
Thanks for the info guys! That should do the job perfectly! |
| |
December 23rd, 2003, 11:23 PM
|
#6 (permalink)
| | Anime Otaku
Join Date: Oct 2001 Location: Tampa, FL USA
Posts: 108,980
|
I quit using quotes here at TIMO a long time ago for most HTML work. I just wanted to post something outside the community for a change.  |
| |
December 24th, 2003, 03:07 AM
|
#7 (permalink)
| | Bringing Da Funk
Join Date: Feb 2003 Location: Da Bronx, NY
Posts: 3,985
|
Hmm........I still don't kow what Vass meant, but the redirect is good |
| |
December 30th, 2003, 11:34 PM
|
#8 (permalink)
| | Member
Join Date: Oct 2003
Posts: 60
|
You should set the # of seconds to 10 or more, to avoid being banned by major search engines.
Best alternative: If your site supports .asp, then use a server-side redirect instead of an HTTP redirect. The search engine spiders will never see the redirect.
--Hedda Lora |
| | | Thread Tools | Search this Thread | | | | |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | | | | Most Active Discussions | | | | | Recent Discussions  | | | | | |