Ralph Shumaker wrote:
When one visits a page that has moved, sometimes a message appears telling of the move and automatically reroutes you there. (Usually, a link is provided just in case the automatic isn't.)

If I wanted to create an automatic forward, how is that done?

3 ways :

o <meta> in the document that automatically redirects
o <script> that uses the window.location() to redirect
o web server responding with a Location: header

I personally prefer (3) as it's MUCH cleaner.
But then I run my own webserver and can tell it to do the redirections
if you are hosted, you prolly don't have that sort of access


--
Michael O'Keefe                      |          [EMAIL PROTECTED]
Live on and Ride a 03 BMW F650GSDakar|          [EMAIL PROTECTED]      / |
I like less more or less less than   |Work:+1 858 845 3514        /  |
more. UNIX-live it,love it,fork() it |Fax :+1 858 845 2652       /_p_|
My views are MINE ALONE, blah, blah, |Home:+1 760 788 1296       \`O'|
blah, yackety yack - don't come back |Fax :+1 858                _/_\|_,

--
[email protected]
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-newbie

Reply via email to