By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
457,930 Members | 1,389 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 457,930 IT Pros & Developers. It's quick & easy.

why redirec just reloading itself???

P: n/a
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.php">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
Jul 17 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
becase it should say;
<META HTTP-EQUIV="refresh" CONTENT="3; URL=project.php">
"dan glenn" <da********@yahoo.com> wrote in message
news:2D********************@newssvr13.news.prodigy .com...
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.php">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

Jul 17 '05 #2

P: n/a
Good grief - I forgot the 'URL='. I was typing from an example I found on
the web and I just missed typing that in. I am such a moron. I am hopeless.
Why do I even go on???

thanks,
dg

"Jørn-Inge Kristiansen" <jo******@stud.ntnu.no> wrote in message
news:bl**********@tyfon.itea.ntnu.no...
becase it should say;
<META HTTP-EQUIV="refresh" CONTENT="3; URL=project.php">
"dan glenn" <da********@yahoo.com> wrote in message
news:2D********************@newssvr13.news.prodigy .com...
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.php">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


Jul 17 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.