| Use
suspenders and a belt -- both the Refresh pragma and a JavaScript
redirect in the <head> of the page, like this:
<meta
http-equiv="Refresh" content="0; url=http://site.com/page.html">
<script>
window.location="http://www.mysite.com/mypage.html";
</script>
Make sure to set both
url's the same, and be careful of the punctuation in the Refresh
pragma.
The other way to do
this is server-side via the .htaccess file in your web root.
Do this with caution, and always check your server documentation or
with your server administrator to be certain it's allowed on your
host -- though the technique is very much standard on UNIX/LINUX
boxes.
Add a Redirect
request to your .htaccess file in the following general form:
Redirect
whatpage.html http://www.mysite.com/otherpage.html
In this example,
whatpage.html is redirected to http://www.mysite.com/otherpage.html. |