summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwushin <pasekei@gmail.com>2014-11-25 01:06:47 -0600
committerwushin <pasekei@gmail.com>2014-11-25 01:06:47 -0600
commit1f5079ef548d114ee2a2d029f63df52b0113cb31 (patch)
tree33c66f95ca3524206c4c1ffeb12919d9a9233f27
parentccb12136a439beb548ee2ba6da58dd13851e63fe (diff)
downloadwebsite-1f5079ef548d114ee2a2d029f63df52b0113cb31.tar.gz
website-1f5079ef548d114ee2a2d029f63df52b0113cb31.tar.bz2
website-1f5079ef548d114ee2a2d029f63df52b0113cb31.tar.xz
website-1f5079ef548d114ee2a2d029f63df52b0113cb31.zip
Fix Robots on news and registration
-rw-r--r--extensions/tmwa/frontend/news.php1
-rw-r--r--extensions/tmwa/frontend/registration.php1
2 files changed, 2 insertions, 0 deletions
diff --git a/extensions/tmwa/frontend/news.php b/extensions/tmwa/frontend/news.php
index 05faada..5d84bb1 100644
--- a/extensions/tmwa/frontend/news.php
+++ b/extensions/tmwa/frontend/news.php
@@ -9,6 +9,7 @@ class GameNewsPage extends SpecialPage {
$request = $this->getRequest();
$output = $this->getOutput();
$this->setHeaders();
+ $output->setRobotPolicy('index,follow');
$output->addMeta('description', 'Game News for The Mana World');
$output->addMeta('keywords', 'news, game news, whats new, current release, new changes');
diff --git a/extensions/tmwa/frontend/registration.php b/extensions/tmwa/frontend/registration.php
index 967a1e3..6e80f1b 100644
--- a/extensions/tmwa/frontend/registration.php
+++ b/extensions/tmwa/frontend/registration.php
@@ -10,6 +10,7 @@ class GameAccountPage extends SpecialPage {
$request = $this->getRequest();
$output = $this->getOutput();
$this->setHeaders();
+ $output->setRobotPolicy('index,nofollow');
$output->addMeta('description', 'Create a Game Account for The Mana World');
$output->addMeta('keywords', 'Create Account, free game account, online free game account, mmorpg account, account, sign up');
global $wgTMWAccountLib;