AlpineWeb Home
Search: For:   ~ Advanced Search  
  AlpineWeb Technical Support Home     Documentation     Knowledgebase     Help Desk     Blog 
Support Home > Basic Hosting > Webserver > Monday, October 06, 2008

404 - Custom Error Pages


From a viewer experience perspective, it's best to have a 404 page for each domain. Besides carrying the site's branding forward for consistency, you can guide the viewer a little with some helpful suggestions and links.

For example, a link to the site index (if there is one) is a good element to include. Especially for sites that change often and the search engines can't keep up. This is probably the #1 cause of 404's - search engine links to pages that have been renamed or moved or deleted.

Customizable error responses come in three flavors:
  1. Plain Text Message

    ErrorDocument 500 "The server made a boo boo.

    n.b. the (") marks it as text, it does not get output

  2. Local Redirects

    ErrorDocument 404 /missing.html
    to redirect to local url /missing.html

    ErrorDocument 404 /cgi-bin/missing_handler.pl
    n.b. can redirect to a script or a document using server-side-includes.

    ErrorDocument 401 /error/401.html
    ErrorDocument 404 /error/404.html
    ErrorDocument 403 /error/403.html
  3. External Redirects

    ErrorDocument 402 http://some.other_server.com/subscription_info.html




Technical Support
° Getting Started Guides
  FreeBSD
° Basic Hosting Help
° Signature Hosting Help
° VPS v1 Help
° VPS v2/3 Help
° MPS v2/3 Help
  Linux
° VPS v3 Help
° MPS v3 Help
  SaaS
° Sugar CRM
  DNS
° Domain Name Service
° Domain Registration
° Help Desk
° Knowledgebase
° Support Policies
° Disclaimer

° AlpineWeb Home
° Compare Hosting Plans
° Network Topology

° Rates & Fees
° Order Center




  Home | Site Map | Customer Backroom Copyright  ©  1997-2008  AlpineWeb Design