iWeb FAQ - Redirect
iWebFAQ.org
How can I redirect people from one of my pages to another page maybe even to a page of an external website? How can I make a redirect in iWeb?


Sometimes you need to redirect your visitors automatically from one page to another. Here you find how to achieve that.
Chapter 1: Instant redirect
Chapter 2: Redirect with time delay
Chapter 1: Instant redirect
1. Copy & paste the following code in an HTML Snippet
<script type="text/javascript">
parent.location.replace('url of the external site');
</script>
2. Replace "url of the external site" with the url of the external site and that's it.
Chapter 2: Redirect with time delay
1. Copy and paste the following code into an HTML Snippet
<script type="text/javascript">
var url ='url of the page';
var delay = 4;
var d = delay * 1000;window.setTimeout ('parent.location.replace(url)', d);
</script>
2. Replace url of the page with the url of the page you want people to be redirected to
The number 4 in the code stands for the delay time of the redirection, you can change it to fit your case
iWebFAQ.org - Tutorials, Tips & Tricks is made with iWeb and for iWeb.
It’s presented by Cédric and hosted by HostExcellence.com
I would like you to give me feedback on this page by commenting in the appropriate section of the Forum. Tell me if it's been helpful. If it wasn’t please tell me why. If you think something is missing please tell me what. If you have questions about it post them there and I will probably try to give you an answer.
Thank you for visiting and supporting my website.
- Cédric -
