Reply
Pathetic Question That Needs An Answer
Old 06-14-2003, 09:29 AM Pathetic Question That Needs An Answer
SmokingTequila's Avatar
Master of Disaster

Posts: 344
Location: Richmatic
What would be the HTML code if I wanted to make www.blahblah.com redirect to www.blahblah.biz?
__________________
I might leave in a bodybag, but never in cuffs.
SmokingTequila is offline
Reply With Quote
View Public Profile Visit SmokingTequila's homepage!
 
When You Register, These Ads Go Away!
Old 06-14-2003, 03:45 PM
RedMage's Avatar
Average Talker

Posts: 27
Location: ROY UTAH USA
HTML cannot do that but JavaScript, PHP and other server-side languages can.

Here's a JavaScript example:
Code:
<SCRIPT>
 parent.top.location.href = "http://www.blahblah.biz";
</SCRIPT>
Add that between the "<HEAD>" tags in your HTML file, change th http://www.blahblah.biz to whatever you want and your done.

That code will redirect the page immediately, typically befor any body content is displayed.
RedMage is offline
Reply With Quote
View Public Profile Visit RedMage's homepage!
 
Old 06-14-2003, 04:49 PM
The Crow's Avatar
SHOW

Posts: 1,521
Location: USA
smoking,
This is a meta refresh.
<META HTTP-EQUIV="REFRESH" CONTENT="01; URL=home.html">
Put this between your title and /head.
the 01 is one second. change the url to where you want it to go.
This should work for you.
Crow
The Crow is offline
Reply With Quote
View Public Profile
 
Old 06-14-2003, 06:32 PM
RedMage's Avatar
Average Talker

Posts: 27
Location: ROY UTAH USA
I lied, HTML can do that [o:

Thanks, The Crow
RedMage is offline
Reply With Quote
View Public Profile Visit RedMage's homepage!
 
Old 06-15-2003, 08:58 AM
conkermaniac's Avatar
The Nutty Moderator

Posts: 1,012
Location: China
Quote:
Originally posted by The Crow
smoking,
This is a meta refresh.
<META HTTP-EQUIV="REFRESH" CONTENT="01; URL=home.html">
Put this between your title and /head.
the 01 is one second. change the url to where you want it to go.
This should work for you.
Crow
I recommend setting content to 0 if you want an automatic redirect, but if you want to include a message such as: "Hold on while you are being redirected to...", I would recommend setting content to 5 or 6.
__________________
Aimoo - Affordable feature-packed remotely hosted message boards!
conkermaniac is offline
Reply With Quote
View Public Profile Visit conkermaniac's homepage!
 
Reply     « Reply to Pathetic Question That Needs An Answer
 

Thread Tools

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 


Page generated in 0.14183 seconds with 12 queries