diff --git a/inc/template.php b/inc/template.php
index 7b16b914219fe5b5f31c3647e4265f1a0670a70e..c44cd064ceb34b546ca90f05d332e1d1f8b90ea3 100644
--- a/inc/template.php
+++ b/inc/template.php
@@ -289,7 +289,7 @@ function tpl_metaheaders($alt = true) {
     if(($ACT == 'show' || $ACT == 'export_xhtml') && !$REV) {
         if($INFO['exists']) {
             //delay indexing:
-            if((time() - $INFO['lastmod']) >= $conf['indexdelay']) {
+            if((time() - $INFO['lastmod']) >= $conf['indexdelay'] && !isHiddenPage($ID) ) {
                 $head['meta'][] = array('name'=> 'robots', 'content'=> 'index,follow');
             } else {
                 $head['meta'][] = array('name'=> 'robots', 'content'=> 'noindex,nofollow');