diff options
author | Andreas Gohr <andi@splitbrain.org> | 2007-08-09 23:27:28 +0200 |
---|---|---|
committer | Andreas Gohr <andi@splitbrain.org> | 2007-08-09 23:27:28 +0200 |
commit | c3673e6143da7434296ae6ca9179c7c4489f589d (patch) | |
tree | 295b724de51847c9eeadca1f206fbe7de086e228 | |
parent | c9db30f969ec4cb1dd52dd6a54aa8ab15b1ce37b (diff) | |
download | rpg-c3673e6143da7434296ae6ca9179c7c4489f589d.tar.gz rpg-c3673e6143da7434296ae6ca9179c7c4489f589d.tar.bz2 |
don't allow export formats in Google index FS#1219
darcs-hash:20070809212728-7ad00-485593f2658fa217f1b70b72d60dd4ef0f59b0c3.gz
-rw-r--r-- | inc/actions.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/inc/actions.php b/inc/actions.php index d3eff18b7..d7c51282f 100644 --- a/inc/actions.php +++ b/inc/actions.php @@ -356,6 +356,9 @@ function act_export($act){ global $ID; global $REV; + // search engines: never cache exported docs! (Google only currently) + header('X-Robots-Tag: noindex'); + // no renderer for this if($act == 'export_raw'){ header('Content-Type: text/plain; charset=utf-8'); |