summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2012-04-04 13:29:04 +0200
committerFlorian Pritz <bluewind@xinu.at>2012-04-05 10:27:33 +0200
commita71ec0f6948140fb3a7f23db3e6751eaed2dc089 (patch)
tree0f64233981da682438cc61501308769bcd4f6d32
parentbb36bbfc158da779a87d57209d1cb110243b2e3d (diff)
Disable search indexing
All links will become invalid pretty soon so this just leads to lots of dead links in the bots search index. Signed-off-by: Florian Pritz <bluewind@xinu.at>
-rw-r--r--application/views/file/header.php1
-rw-r--r--robots.txt2
2 files changed, 3 insertions, 0 deletions
diff --git a/application/views/file/header.php b/application/views/file/header.php
index a7354cdca..e09f29f61 100644
--- a/application/views/file/header.php
+++ b/application/views/file/header.php
@@ -5,6 +5,7 @@
<title><?php echo isset($title) ? $title : ''; ?></title>
<link rel="stylesheet" type="text/css" href="<?php echo base_url(); ?>data/default.css?<?php echo filemtime(FCPATH."/data/default.css"); ?>" media="screen" />
<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
+ <meta name="robots" content="noindex,nofollow" />
</head>
<body>
diff --git a/robots.txt b/robots.txt
index e69de29bb..c6742d8a8 100644
--- a/robots.txt
+++ b/robots.txt
@@ -0,0 +1,2 @@
+User-Agent: *
+Disallow: /