From 4eef3a65f0094359707ac5c381eaebe51e3dac12 Mon Sep 17 00:00:00 2001 From: Alexey Date: Fri, 10 Aug 2018 14:20:54 +0300 Subject: [PATCH] changed robots and meta robots noindex --- frontend/views/layouts/main.php | 5 +++-- frontend/web/robots.txt | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/frontend/views/layouts/main.php b/frontend/views/layouts/main.php index 5bed3ed..2dd6391 100755 --- a/frontend/views/layouts/main.php +++ b/frontend/views/layouts/main.php @@ -53,7 +53,8 @@ JS; $this->registerMetaTag( [ 'name' => 'robots', - 'content' => $seo->robots, + 'content' => 'noindex, nofollow', + // 'content' => $seo->robots, ] ); ?> @@ -252,4 +253,4 @@ JS; endBody()?> -endPage() ?> \ No newline at end of file +endPage() ?> diff --git a/frontend/web/robots.txt b/frontend/web/robots.txt index 77470cb..14267e9 100755 --- a/frontend/web/robots.txt +++ b/frontend/web/robots.txt @@ -1,2 +1,2 @@ User-agent: * -Disallow: / \ No newline at end of file +Allow: / \ No newline at end of file -- libgit2 0.21.4