What are the ten most visited pages on your website? Your main entry point, no doubt. And possibly your search page, a site map or other navigational aids. A greeting from your Vice Chancellor may be a popular page - or is it more likely to be a Student's Union Society page, or a personal home page?
All of these are possibilities, but isn't a frequently visited - if not popular - page missing from this list? What about the infamous 404 - Page Not Found message? Web users encounter 404 error messages frequently, due to HTML authors making mistakes in keying in the HREF attribute, reorganisation of the file store, or simply users making mistakes when writing down URLs or when typing them.
In early June 1999 a survey was taken of 404 error messages generated on the main entry points for UK University websites. This article reviews the findings and makes a number of suggestions for improvements.
Four sites appeared to have server configuration errors which result in a display of HTTP headers likely to be off-putting to the casual visitor, as illustrated in Figure 1.
Figure 1 - Misconfigured Server Error Message
A surprisingly large number of sites (114 or over 70%) used the web server's default 404 error message. Depending on the server used, this would simply display a brief error message, or display the error message, together with a link back to the refering page. A typical server error message is displayed in Figure 2.
File Not Found
|The requested URL /foo.html was not found on this server.|
|Figure 2 - Typical Default Server Error Message|
Of the remaining 46 sites, there was a large variety in the way in which the error message had been tailored. A number of examples are illustrated below.
King's College London provides access to the main college entry point and to several other key entry points and a link to the college's search facility, as shown in Figure 3.
Figure 3 - King's College London error message
The page is well-designed and conforms to the website's overall design, making use of the website's standard navigation bar. The destination links provided in the navigational bar are replicated in a text-based set of links provided at the bottom of the page. The page also contains an email link to the owner of the page.
The University of Ulster 404 error message also makes use of the website look-and-feel. This time the navigational bar is provided as a vertical bar on the left hand side of the page, as shown in Figure 4.
Figure 4 - University of Ulster error message
The main area of the page contains a link to the main entry point for the website and an email link to the owner of the page.
Keele University's error message has a simpler design, which simply uses the University's logo. The page contains links to the main entry point, a search page, a sitemap (which contains an alphabetical listing of university departments, centres, units, offices, faculties and societies which have web pages) and a help page, as shown in Figure 5.
Figure 5 - Keele University error message
Helpfully, the page also displays the URL of the requested page. The page also provides a link back to the referrer page - the page containing the link which the user followed (also spelt referer). If the user did not follow the link, but instead typed the URL directly, instead of a link to the referrer page, the user is asked to check the spelling.
The error page at the University of Southampton appears to have been designed to be fit on a VGA monitor without requiring the user to scroll (as shown in Figure 6).
Figure 6 - University of Southampton error message
The page makes use of a single colour (red rather than blue - the institution's primary colour) on three sides of the page. The centre of the page links to a sitemap (a list of departments) and a search facility, together with suggestions for the reasons for the broken. The page also provides an email link to the page owner an a contact phone number (in international format).
Oxford Brookes University also makes us of its corporate background colour scheme and navigational bar (with links to the main entry point, search page and help page) on its error page.
Figure 7 - Oxford Brookes University error message
In addition the error page also contains an embedded searching service. The page also maximises use of the screen real estate by using forms to provide links to key areas of the website.
The error page at the University of Cranfield provides a form-based interface to an email feedback service which makes it easier for users to report errors, as shown in Figure 8.
Figure 8 - University of Cranfield error message
While conducting this survey the 404 error page was not displayed for a large number of websites - instead a browser error message was displayed, as shown in Figure 9.
Figure 9 - Internet Explorer's client-side error message
Following discussion on W3C's WAI-IG mailing list David Norris pointed out  that this is a "feature" of the Internet Explorer browser. Apparently if IE receives an error message from the server which is less than 512 bytes (or 1024 bytes according to some reports), it will display its own error message rather than the server's (as described on Microsoft's Support website . Although it is possible to switch this option off (by disabling Show friendly HTTP errors in the Internet Options menu) it is unlikely that many users will make this change, or even by aware of the need to make this change. I suspect this feature is intended to replace the typical server default error message illustrated in Figure 1. Unfortunately it has the side effect of replacing locally configured error messages which happen to be less than 1024 bytes.
Sceptics of Microsoft products may not be surprised at what appears to be an incorrectly-specified browser default option. It appears, however, that this mistake is not restricted to Microsoft, and the Opera browser is believed to work in this same way.
Based on an analysis of institutional 404 error messages, the following recommendations are made for use on institutional web services:
An interesting example of helpful messages can be seen at the 404 page on the Harvey Mudd College website , as illustrated in Figure 10.
Figure 10 - Harvey Mudd College error message
As well as providing advice for the end user, the page also tackles the problem of what to do if a misprinted URL is published. Although it may be possible to provide redirects, if this is not felt desirable (as was the case at Harvey Mudd College) another option would be to provide corrections on the 404 page.
The 404 page can provide an opportunity to try out innovative features which may be difficult to deploy across large number of conventional HTML pages. A number of possibilities are listed below:
David Norris provided some interesting suggestions in his posting to the WAI-IG mailing list . He suggested that tailored error messages be provided for all server errors, and not just 404s. He also suggested using a backend email interface to send details of errors - rather than relying on the page author or webmaster to examine the error logs. David has helpfully provided access to a set of error messages for his website . The error messages are created using the PHP server-scripting language. In order to view the source of the PHP files it is necessary to use the Source Code Viewer . So, for example, to view the 404 PHP file, the pathname errors/404.php3 (i.e. <URL: http://www.misma.org/source.html?page_url=/errors/404.php3>) should be given.
Another possibility for tailoring 404 pages is to consider the approach taken by the UK's National Caching Service. The National Caching Service has been experimenting with the use of rotating banner ads to advertise JISC services. A sample page is shown in Figure 11 (see ).
Figure 11 - The National Cache's error message
This approach, which we see on many commercial sites, may be worth considering for use on an institutional 404 page (advertising institutional services and events rather than commercial goods).
Many thanks to Tony Grant, a regular contributor to the web-support Mailbase list for pointing me in the direction of the 404 Research Lab .
Figure 12 - 404 Research Lab
The 404 Research Lab is am invaluable resource for any web administrator who is thinking about the design of a 404 page. It note only provides advice on configuring 404 pages, but provides links to over 100 404 error pages, grouped into "cool", "interactive", "international", "strange" and "stupid" pages. It also provides links to other 404 sites including the 404 Not Found Homepage  and Sendcoffee  websites.
Jakob Neilson has published a useful Alertbox article on "Improving the Dreaded 404 Error Message" .
Many thanks to Nir Dagan for his suggestion concerning multi-lingual pages, Tony Grant, Kynn Bartlett and David Norris for additional comments.
UK Web Focus
University of Bath