Forum Moderators: open
HTML, in the <HEAD>:
<meta http-equiv="Refresh" content="0; URL=http://domain.com/newpage.html">
"0" is the number of seconds to wait before redirecting
JavaScript, in the <HEAD>
<script language=JavaScript>window.location="newpage.html"</script>
Or if you want a delay:
<script language=JavaScript>setTimeout('window.location = "newpage.html"', '4000') </script>
4000 is the number of milliseconds to wait before redirecting.
.HTACCESS
.htaccess is a text file at the top level on your server (at the same level as your index.html). If it's not there you can create one. Add this command to the server to redirect pages:
Redirect 301 /oldpage.html [domain.com...]