PDA

View Full Version : how to redirect user to my new URL ?


tabo
08-27-2002, 09:55 AM
I will have my url changed. How can I do the redirection when ppl type in the old url ?
It can be something like a page telling ppl my new URL and direct them to the new URL within certain time..

Thanks in advance..

Gordo
08-27-2002, 10:55 AM
Make this your 'entrance' page on your old domain (index.html, default.htm, etc.).

<html>
<head>
<meta http-equiv="refresh" content="5;url=http://www.YOUR-NEW-SITE.com">
</head>
<body>
I have moved! My new web site is www.YOUR-NEW-SITE.com. Please change your bookmarks/favorites accordingly. Thank you.
</body>
</html>

Of course, you can put any HTML etc in place of what I typed above. The "5" in the metatag is the number of seconds before the web page automatically redirects...taking over the current browser window.