redirect

R

rf

earl said:
How can I redirect a user using html ?

Hmmm. This question is asked here at least every couple of days. Did you
look through the history? It is also covered quite extensivly in the FAQ's
published here and elsewhere.

Google,
http://www.google.com/search?q=redirect+a+web+page
gives some eight hundred thousand hits on this matter.

Google groups (the archive of all newsgroups)
http://groups.google.com.au/groups?q=redirect+a+web+page
while giving not as many hits (only fifty thousand or so) is probably
better.

The short answer is you can't. HTML does not "do" anything.

The long answer is that you can't. What happens client side (ie HTML) is
beyond your control.

Your solution lies server side.

http://allmyfaqs.com/ probably has some pointers for you as well.

Cheers
Richard.
 
G

gmcclary

dante said:
<html>
<head>
<title>Site moved...</title>

<meta http-equiv="refresh" content="5;URL=http://YOUR_NEW_SITE_ADDRESS">

</head>
<body>

YOUR_OLD_SITE_ADDRESS has moved to YOUR_NEW_SITE_ADDRESS

If your browser does not automatically redirect you in 5 seconds,
click <a href="http://YOUR_NEW_SITE_ADDRESS">here</a> to go to the new site.

</body>
</html>

Regards

This is a VERY bad idea.... for two reasons.
First: what if your visiter does not want to go there? You send them where
they do not want to go, then they have to use their back button.... the back
button returns them to your 're-direct page' and they have five seconds
before you send them again to where they don't want to go....
result, you have an irritated visitor who kills their browser to get out of
your 're-direct' trap and swears on their mother's grave they will never
visit your site again.
..
..
..
..
..
..
..
..
..
..
..
..
..
..
..
..
..
..
..
..
..
..
..
..
..
..
..
..
..
Second: see above.
Best to tell them the reason you want them to go there....
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Staff online

Members online

Forum statistics

Threads
474,085
Messages
2,570,597
Members
47,218
Latest member
GracieDebo

Latest Threads

Top