diff --git a/common/components/SeoComponent.php b/common/components/SeoComponent.php new file mode 100644 index 0000000..d6af892 --- /dev/null +++ b/common/components/SeoComponent.php @@ -0,0 +1,17 @@ +attributes['id']; + if($languageId!=2)return 'noindex,nofollow'; + else return parent::getRobots(); + } +} \ No newline at end of file diff --git a/common/config/main.php b/common/config/main.php index 88c6f11..fe97efe 100644 --- a/common/config/main.php +++ b/common/config/main.php @@ -1,6 +1,6 @@