Customising Error Pages
Create a 404.html file
1. Create a new txt file. This can be created via "Notepad" or a similar 3rd party application.
Save the file as a "html" extension with the name "404.html"
2. Use an FTP application (for example Filezilla) to upload the file to the "errors" directory.
3. Test the error page on your website using a web browser.
Once you have createed a 404.html file, you will need to enable custom error pages for your relevant server (either Zeus or IIS). Upon completion, the 404.html file will take functionality when someone browsing on your site receives a 404 error.
Important Note: Please ensure you do not have an .htaccess file, as this may conflict with the 404 customer error page.
Zeus Servers
If your website is hosted on Web Secure's default webserver, Zeus, simply complete the following steps:
Enabling Custom error pages on Zeus Servers
1. Login to The Console
2. Select to "Administer" the domain name
3. Click on "Web Hosting"Under "Webserver Options", enable the custom error page directory by providing the folder in which your 404.html file will be located. By default we recommend using "errors" as the directory.
Windows IIS Servers
An error page on the Windows IIS server can be easily customised, ie. redirected to another page. To do this, simply follow these steps:
Enabling Custom error pages on IIS Servers
1. Log in to The Console
2. Select to "Administer" the domain name
3. Click on "Web Hosting"
4. Select “Custom Error Pages”
5. Finally, nominate the type (eg. 404 * file not found) and the location of your custom error page.
For example:
If the file is located at: http://www.domainname.com.au/CustomErrorFiles/filenotfound.asp
Then the syntax should be: \CustomErrorFiles\filenotfound.asp
Once added, it should look like:
Current Server Custom Errors Error Code Sub Error Code Type Content 404 *
URL \CustomErrorFiles\filenotfound.asp
If you encounter any problems during this process or require assistance, please do not hesitate to contact Technical Support.
|