|
There
is an easy way to accomplish this task by use of a Meta Refresh
Tag.
First,
set up Custom Error Documents on your site. If you are unfamiliar
with how to do this, please refer to the following Knowledge Base
document for assistance:
Can I use an .htaccess file to customize my own error documents?
Next,
add the following lines of HTML to the relative error document
within the <head> tag. See the example below:
<html>
<head>
<title>The page you
requested could not be found.</title>
<meta http-equiv="refresh" content="1;
URL=http://www.your-homepage-here.com/">
</head>
<body>
The
page you requested could not be found, please wait while you are
redirected to the homepage…
</body>
</html>
In
this example, you need to replace the red text with the URL of
your own home page. The value “1” next to the variable
content=”1 indicates the amount of time (in seconds) the
browser should wait until it refreshes to the URL indicated. In
our example, the browser waits 1 second. If you would like an automatic
refresh, change this value to “0” (zero.)
|