Solved

redirect

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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone 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

Suggested Solutions

Title # Comments Views Activity
I need help changing the colour of this image rollover please? 3 22
CSS Style on Chrome 1 33
Link not working 6 41
Text color and background in a text box. 2 23
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 …
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
HTML5 has deprecated a few of the older ways of showing media as well as offering up a new way to create games and animations. Audio, video, and canvas are just a few of the adjustments made between XHTML and HTML5. As we learned in our last micr…
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

679 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