Permalink
Browse files

Remove noindex from all discussions lists

Conflicts:
	applications/vanilla/controllers/class.discussionscontroller.php
  • Loading branch information...
linc committed Apr 28, 2014
1 parent 5d357c1 commit d63451e2a900235a1ad74438d2d374642d85e35c
Showing with 1 addition and 5 deletions.
  1. +1 −5 applications/vanilla/controllers/class.discussionscontroller.php
@@ -163,10 +163,6 @@ public function Index($Page = FALSE) {
$this->View = 'discussions';
}
// We don't want search engines to index these pages because they can go in through the individual categories MUCH faster.
if ($this->Head)
$this->Head->AddTag('meta', array('name' => 'robots', 'content' => 'noindex,noarchive'));
$this->Render();
}
@@ -534,4 +530,4 @@ public function GetCommentCounts() {
$this->DeliveryType = DELIVERY_TYPE_DATA;
$this->Render();
}
}
}

0 comments on commit d63451e

Please sign in to comment.