From 89703c8776ee5b97d4d43a36ff5f91f971a7682e Mon Sep 17 00:00:00 2001 From: uriel Date: Wed, 25 Feb 2009 05:24:05 +0000 Subject: [PATCH] Improve default sitemap template, including Google's enhanced 404 pages by default. --- lib/404.tpl | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/lib/404.tpl b/lib/404.tpl index 13bf79b..6378d76 100644 --- a/lib/404.tpl +++ b/lib/404.tpl @@ -1,7 +1,12 @@ - +

The requested document at '%($base_url$"req_path%)' doesn't exist

-

The page requested for -% echo ''''$"req_path'''' - doesn't exist

+% # Google Enhanced 404 pages: http://www.google.com/support/webmasters/bin/answer.py?answer=93644 + + -% # TODO: Use http://www.google.com/support/webmasters/bin/answer.py?answer=100044&hl=en by default? +

Or take a look at the sitemap.

+