Commit 4eef3a65f0094359707ac5c381eaebe51e3dac12

Authored by Alexey Boroda
1 parent abe4455d

changed robots and meta robots noindex

frontend/views/layouts/main.php
@@ -53,7 +53,8 @@ JS; @@ -53,7 +53,8 @@ JS;
53 $this->registerMetaTag( 53 $this->registerMetaTag(
54 [ 54 [
55 'name' => 'robots', 55 'name' => 'robots',
56 - 'content' => $seo->robots, 56 + 'content' => 'noindex, nofollow',
  57 + // 'content' => $seo->robots,
57 ] 58 ]
58 ); 59 );
59 ?> 60 ?>
@@ -252,4 +253,4 @@ JS; @@ -252,4 +253,4 @@ JS;
252 <?php $this->endBody()?> 253 <?php $this->endBody()?>
253 </body> 254 </body>
254 </html> 255 </html>
255 -<?php $this->endPage() ?>  
256 \ No newline at end of file 256 \ No newline at end of file
  257 +<?php $this->endPage() ?>
frontend/web/robots.txt
1 User-agent: * 1 User-agent: *
2 -Disallow: /  
3 \ No newline at end of file 2 \ No newline at end of file
  3 +Allow: /
4 \ No newline at end of file 4 \ No newline at end of file