From f5b4f5b3cc57e37bdca348197add1f1f9cbf5b59 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andreas=20=C3=85kre=20Solberg?= <andreas.solberg@uninett.no>
Date: Tue, 24 Feb 2009 14:02:04 +0000
Subject: [PATCH] Tell google to not index error pages

git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@1315 44740490-163a-0410-bde0-09ae8108e29a
---
 templates/error.php | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/templates/error.php b/templates/error.php
index 64e100315..3c36f67fb 100644
--- a/templates/error.php
+++ b/templates/error.php
@@ -1,6 +1,11 @@
 <?php 
 	$this->data['header'] = $this->t('error_header');
 	$this->data['icon'] = 'bomb_l.png';
+	
+	$this->data['head'] = '
+<meta name="robots" content="noindex, nofollow" />
+<meta name="googlebot" content="noarchive, nofollow" />';
+	
 	$this->includeAtTemplateBase('includes/header.php'); 
 ?>
 
-- 
GitLab