...

View Full Version : Whats a good redirecting code?



Silent_Menace
10-15-2005, 05:06 AM
What's the code i can use to redirect to another page?

Philip M
10-15-2005, 09:11 AM
<html>
<head>
<meta http-equiv="REFRESH" content="0; URL=http://www.myotherpage.com">
</head>
</html>

If you want a delay replace 0 by the number of seconds delay required.

felgall
10-15-2005, 11:18 PM
Better yet if your site is running on Apache add the redirect into the .htaccess file so that the old page doesn't have to exist at all.

Redirect /olddir/odfile.html http://yoursite.com/newdir/newfile.html



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum