How to Re-direct

  • Thread starter Thread starter Grinder
  • Start date Start date
G

Grinder

I have a friend who has changed his URL and wants an automatic re-direct
w/manual link from his old URL to his new URL. No problem with the manual
link but how does one create the automatic re-direct?

Thanks.
 
Copy the following into the head of your document.

<meta http-equiv="refresh" content="6; url=http://www.abc.com/">

the 6 is the time in seconds before the browser forwards the user

replace www.abc.com with the URL you want it to redirect to

Also good idea to add a manual link and text - this page has moved
 
-----Original Message-----
I have a friend who has changed his URL and wants an
automatic re-direct w/manual link from his old URL to
his new URL. No problem with the manual link but how
does one create the automatic re-direct?

Replace the old page (at the old URL) with a new one that
contains this line in its <head> section.'

<meta http-equiv="refresh" content="1; url=newplace.htm">

"1" is the number of seconds to pause, and "newplace.htm"
is the new URL. (Pausing 0 seconds interferes with the
browser's Back button.)

If that's not what you mean by "automatic", then please
explain what what you do mean by "automatic".

Jim Buyens
MicrJim Buyens
Microsoft FrontPage MVP
http://www.interlacken.com
Author of:
*========----------
|\=========------------
|| Microsoft Office FrontPage 2003 Inside Out
|| Microsoft FrontPage Version 2002 Inside Out
|| Web Database Development Step by Step .NET Edition
|| Troubleshooting Microsoft FrontPage 2002
|| Faster Smarter Beginning Programming
|| (All from Microsoft Press)
|/=========------------
*========----------

osoft FrontPage MVP
http://www.interlacken.com
Author of:
*========----------
|\=========------------
|| Microsoft Office FrontPage 2003 Inside Out
|| Microsoft FrontPage Version 2002 Inside Out
|| Web Database Development Step by Step .NET Edition
|| Troubleshooting Microsoft FrontPage 2002
|| Faster Smarter Beginning Programming
|| (All from Microsoft Press)
|/=========------------
*========----------
 
Grinder said:
I have a friend who has changed his URL and wants an automatic re-direct
w/manual link from his old URL to his new URL. No problem with the manual
link but how does one create the automatic re-direct?

Do *not* put any silly <META refresh> into your pages. Let your server
send an HTTP redirect. See <http://www.w3.org/QA/Tips/reback>
 
Back
Top