Google Answers Logo
View Question
 
Q: Dreamweaver - redirect URL ( Answered 5 out of 5 stars,   0 Comments )
Question  
Subject: Dreamweaver - redirect URL
Category: Computers
Asked by: spurious-ga
List Price: $2.00
Posted: 20 Oct 2003 01:51 PDT
Expires: 19 Nov 2003 00:51 PST
Question ID: 267836
I am a Dreamweaver newbie.  I don't know whether this should be
something I should create in Dreamweaver or if it's something I should
ask my host's technical support about.

You know how when you click onto a site and get redirected somewhere
else but there is a message saying if "you don't get redirected in the
next minute, click this link"  How do you do that in Dreamweaver (the
automatic bit)?

Alternatively, if it's not something that I can do in Dreamweaver,
just tell me so.
Answer  
Subject: Re: Dreamweaver - redirect URL
Answered By: leep-ga on 20 Oct 2003 02:20 PDT
Rated:5 out of 5 stars
 
Greetings spurious!

Basically, you will want to put the following meta tag into the header
section of your code:

<meta http-equiv="refresh"
content="0;URL=http://www.yoursite.com/index2.html">

The number after "content" is the number of seconds before the browser
refreshes the page.  In the above example the browser would go to the
new page right away.

The URL listed in the above meta tag is the new page that the browser
will go to when it refreshed.

With Dreamweaver you should be able to open the document you want to
refresh, choose Insert, Head Tags, Refresh, and then enter the delay
(number of seconds) and the link.  Or you can manually edit the source
code.

For some more info on using the refresh meta tag:

"Introduction to META tags at Dreamweaver FAQ.com":
http://www.dwfaq.com/Tutorials/Miscellaneous/more_metas.asp

"Document Headers in Dreamweaver":
http://www.webdevelopersjournal.com/articles/dreamweaver_document_headers.html

As noted on the following page, "If the redirect happens quickly (less
than 2-3 seconds), your readers can't hit the 'Back' button. This
annoys many people."
"Meta Refresh Tag - Redirecting Your Customers":
http://webdesign.about.com/cs/metatags/a/aa080300a.htm

"How to retire a page":
http://caheinfo.wsu.edu/Webtips/refresh.html

I hope this information is helpful.  If you would like for me to
clarify any part of my answer or further research your question,
please let me know before issuing a rating (and please indicate the
version of Dreamweaver you are using). Thanks!


leep-ga


some search strategy used:
dreamweaver HTTP-EQUIV="REFRESH"
spurious-ga rated this answer:5 out of 5 stars and gave an additional tip of: $2.00
A perfect answer!

Comments  
There are no comments at this time.

Important Disclaimer: Answers and comments provided on Google Answers are general information, and are not intended to substitute for informed professional medical, psychiatric, psychological, tax, legal, investment, accounting, or other professional advice. Google does not endorse, and expressly disclaims liability for any product, manufacturer, distributor, service or service provider mentioned or any opinion expressed in answers or comments. Please read carefully the Google Answers Terms of Service.

If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you.
Search Google Answers for
Google Answers  


Google Home - Answers FAQ - Terms of Service - Privacy Policy