I want to redirect from an HTML file to a PHP script (to conserve a past
link published elsewhere). What I'm doing is like:
(file oldfile.html)
<html>
<head>
<meta http-equiv=refresh
content="3; project.php">
<title>HTML redirection</title>
</head>
<body>
<h1>HTML redirection</h1>
<p align="center">
Please wait while you are redirected to the new site
or click <a href="project.p hp">here</a>
</p>
</body>
</html>
The redirection just causes this same file (oldfile.html) to reload, and not
to load the project.php file. WHY? If I click the link, that works, but of
course I want the redirection to just take me to project.php automatically
and all it does is just constantly reload itself every 3 seconds. I must be
missing something here, but I can't see what it is...
-dg
link published elsewhere). What I'm doing is like:
(file oldfile.html)
<html>
<head>
<meta http-equiv=refresh
content="3; project.php">
<title>HTML redirection</title>
</head>
<body>
<h1>HTML redirection</h1>
<p align="center">
Please wait while you are redirected to the new site
or click <a href="project.p hp">here</a>
</p>
</body>
</html>
The redirection just causes this same file (oldfile.html) to reload, and not
to load the project.php file. WHY? If I click the link, that works, but of
course I want the redirection to just take me to project.php automatically
and all it does is just constantly reload itself every 3 seconds. I must be
missing something here, but I can't see what it is...
-dg
Comment