Solved

redirect

Posted on 2006-07-15
3
184 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
(URGENT) Help HTML and CSS Resizing Images 2 39
Enter key on html form page 11 44
FIELDSETs and LEGENDs in email markup 1 9
Form Submit falis 6 24
Building a website can seem like a daunting task to the uninitiated but it really only requires knowledge of two basic languages: HTML and CSS.
This article explains how to prepare an HTML email signature template file containing dynamic placeholders for users' Azure AD data. Furthermore, it explains how to use this file to remotely set up a department-wide email signature policy in Office …
In this tutorial viewers will learn how to position items using CSS's three positioning types Create a new HTML document with an internal stylesheet.: Create another div in CSS and name it Absolute : Type "position:absolute;" and "top:10px; left:50p…
In this tutorial viewers will learn how to code links for mobile sites that, once clicked, send a call or text to a specified number. For a telephone link (once clicked, calls a number), begin with a normal "<a href=" link tag. For the href, specify…

930 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

11 Experts available now in Live!

Get 1:1 Help Now