HighDots Forums  

go to url w/ delay

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss go to url w/ delay in the Macromedia Dreamweaver forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
herod2221 webforumsuser@macromedia.com
 
Posts: n/a

Default go to url w/ delay - 07-25-2003 , 08:27 PM






the address of my site changed, and i want to put an automatic redirection on the old page (so that the user has enough time to note the change, but doesn't actually click a link)

i've been playing w/ the Go to URL behavior but am having trouble figuring out how to create a delay instead of an immediate jump (i don't know java, so i'm kind of fiddling blindly).

i would like the page to wait 5 seconds before automatically jumping to the new site.
any suggestions are much appreciated.

kenny




Reply With Quote
  #2  
Old   
Alan Ames
 
Posts: n/a

Default Re: go to url w/ delay - 07-25-2003 , 08:29 PM






use the Meta Refresh tag on the page(s) at the old domain

Insert-->Head Tags-->Refresh.

enter the full address- and the delay in seconds.
Upload the file and check it.

Advantage- it doesn't require javascript to be on.
Also- search engines will detect the refresh- and scan the new site for
links maybe.

Quote:
the address of my site changed, and i want to put an automatic redirection on
the old page (so that the user has enough time to note the change, but doesn't
actually click a link)

i've been playing w/ the Go to URL behavior but am having trouble figuring out
how to create a delay instead of an immediate jump (i don't know java, so i'm
kind of fiddling blindly).

i would like the page to wait 5 seconds before automatically jumping to the
new site.
any suggestions are much appreciated.

kenny



--
Team Macromedia Volunteer for Dreamweaver
Certified Dreamweaver MX Developer



Reply With Quote
  #3  
Old   
Michael Fesser
 
Posts: n/a

Default Re: go to url w/ delay - 07-25-2003 , 09:13 PM



Alan Ames wrote:

Quote:
use the Meta Refresh tag on the page(s) at the old domain

Advantage- it doesn't require javascript to be on.
Disadvantage: It's an abuse of the meta-refresh which is only meant for
refreshing _the same_ page, not for redirecting.

The only correct way is a server-side redirect with the HTTP-code 301
"Moved Permanently". This can be done with a .htaccess-file for example.

http://www.w3.org/TR/html4/struct/global.html#h-7.4.4
"Some user agents support the use of META to refresh the current page after
a specified number of seconds, with the option of replacing it by a
different URI. Authors should not use this technique to forward users to
different pages, as this makes the page inaccessible to some users.
Instead, automatic page forwarding should be done using server-side
redirects."

Quote:
Also- search engines will detect the refresh- and scan the new site for
links maybe.
I doubt it. A search engine will most likely ignore the meta-refresh.

Micha


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

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



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.