Solved

redirect

Posted on 2006-07-15
3
173 Views
Last Modified: 2010-04-09
hello
Is there a way of making this in html ?

<script>
window.location="http://www.web.com/"
</script>
0
Comment
Question by:aplelois
  • 2
3 Comments
 
LVL 18

Accepted Solution

by:
Eternal_Student earned 500 total points
ID: 17115105
<META HTTP-EQUIV="Refresh" CONTENT="5; URL=another.html">

The 5 means it will redirect to another.html after 5 secs.
0
 
LVL 18

Expert Comment

by:Eternal_Student
ID: 17115108
Or you can just build a link:

<a href="http://www.web.com/">Link</a>
0
 
LVL 2

Expert Comment

by:mach-
ID: 17115970
The best way is to send a location header on the server's side. This way it doesn't break the back button.

In PHP: header('Location: page.html'); exit();
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Not sure what the best email signature size is? Are you worried about email signature image size? Follow this best practice guide.
This article discusses how to create an extensible mechanism for linked drop downs.
In this tutorial viewers will learn how add a full-size background image to a webpage using CSS3. Create a new HTML document with an internal stylesheet.: In CSS, define the html element to have a background image. Use a high resolution image.: In t…
The viewer will receive an overview of the basics of CSS showing inline styles. In the head tags set up your style tags: (CODE) Reference the nav tag and set your properties.: (CODE) Set the reference for the UL element and styles for it to ensu…

706 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now