Solved

redirect

Posted on 2006-07-15
3
212 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

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 to style elements, such a divs, with a "drop shadow" effect using the CSS box-shadow property Start with a normal styled element, such as a div.: In the element's style, type the box shadow property: "box-shad…
In this tutorial viewers will learn how to embed an audio file in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: : The declaration should display (CODE) HTML5 is supported by the most recent versions of all major browsers…

751 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