Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > Redirection script

Redirection script
Thread Tools
Mac Elite
Join Date: Jan 2001
Location: .CL
Status: Offline
Reply With Quote
Jul 29, 2002, 12:29 AM
 
How can i make an .html file that when is accessed it instantly redirects to somewhere else?
Is there an action for this in GoLive?
     
Mac Enthusiast
Join Date: Jul 2002
Location: Leiden, Netherlands
Status: Offline
Reply With Quote
Jul 29, 2002, 01:04 AM
 
</font><blockquote><font size="1" face="Geneva, Verdana, Arial, sans-serif">quote:</font><hr /><font size="1" face="Geneva, Verdana, Arial, sans-serif">Originally posted by ARENA:
<strong>How can i make an .html file that when is accessed it instantly redirects to somewhere else?
Is there an action for this in GoLive?</strong></font><hr /></blockquote><font size="1" face="Geneva, Verdana, Arial, sans-serif">Add the following meta to your list of meta's in your HTML code :
</font><blockquote><font size="1" face="Geneva, Verdana, Arial, sans-serif">code:</font><hr /><pre style="font-size:x-small; font-family: monospace;">&lt;meta http-equiv=&quot;Refresh&quot; content=&quot;0; URL=URL WHERE YOU wANT TO BE redirected&quot; &gt; </pre><hr /></blockquote><font size="1" face="Geneva, Verdana, Arial, sans-serif">
     
ARENA  (op)
Mac Elite
Join Date: Jan 2001
Location: .CL
Status: Offline
Reply With Quote
Jul 29, 2002, 01:44 AM
 
</font><blockquote><font size="1" face="Geneva, Verdana, Arial, sans-serif">quote:</font><hr /><font size="1" face="Geneva, Verdana, Arial, sans-serif">Originally posted by Ludovic Hirlimann:
<strong> </font><blockquote><font size="1" face="Geneva, Verdana, Arial, sans-serif">quote:</font><hr /><font size="1" face="Geneva, Verdana, Arial, sans-serif">Originally posted by ARENA:
<strong>How can i make an .html file that when is accessed it instantly redirects to somewhere else?
Is there an action for this in GoLive?</strong></font><hr /></blockquote><font size="1" face="Geneva, Verdana, Arial, sans-serif">Add the following meta to your list of meta's in your HTML code :
</font><blockquote><font size="1" face="Geneva, Verdana, Arial, sans-serif">code:</font><hr /><pre style="font-size:x-small; font-family: monospace;">&lt;meta http-equiv=&quot;Refresh&quot; content=&quot;0; URL=URL WHERE YOU wANT TO BE redirected&quot; &gt; </pre><hr /></blockquote><font size="1" face="Geneva, Verdana, Arial, sans-serif"></strong></font><hr /></blockquote><font size="1" face="Geneva, Verdana, Arial, sans-serif">That's just what i needed, thanks!
     
Grizzled Veteran
Join Date: Feb 1999
Location: California
Status: Offline
Reply With Quote
Jul 29, 2002, 08:22 PM
 
Wow, I didn't know this could be done without Javascript. Is there a way to create a time delay with this (e.g. "this page will redirect in 10 seconds")?
     
Occasionally Useful
Join Date: Jun 2001
Location: Liverpool, UK
Status: Offline
Reply With Quote
Jul 29, 2002, 08:28 PM
 
</font><blockquote><font size="1" face="Geneva, Verdana, Arial, sans-serif">quote:</font><hr /><font size="1" face="Geneva, Verdana, Arial, sans-serif">Originally posted by Patrick:
<strong>Wow, I didn't know this could be done without Javascript. Is there a way to create a time delay with this (e.g. "this page will redirect in 10 seconds")?</strong></font><hr /></blockquote><font size="1" face="Geneva, Verdana, Arial, sans-serif">change: content=0;
to: content=10;
"Have sharp knives. Be creative. Cook to music" ~ maxelson
     
   
Thread Tools
Forum Links
Forum 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
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 06:06 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2