Hi,
I would like to google deindex entire language of my website, I have Bulgarian and English and I want to remove from googles index the English part of my website.
How can I do that using header meta tag: <META NAME="ROBOTS" CONTENT="NOINDEX, NOFOLLOW">?
Thanks!
The default language is Bulgarian, English is not visible anywhere in the website however it's indexed by google.
Here it is: http://funkykids-bg.com/ and here is what is indexed in google: https://www.google.bg/search?q=site:funkykids-bg.com
The website owner is thinking about english version but right now the english descriptions are not filled correctly, so for now I just want to mark it as noindex, nofollow.
Here it is: http://funkykids-bg.com/ and here is what is indexed in google: https://www.google.bg/search?q=site:funkykids-bg.com
The website owner is thinking about english version but right now the english descriptions are not filled correctly, so for now I just want to mark it as noindex, nofollow.
OpenCart SEO Services
http://tomeda.bg
/controller/common/header.php
/view/theme/*/template/common/header.tpl
Code: Select all
if ($this->language->get('code') == 'bg') {
$data['noindex'] = true;
} else {
$data['noindex'] = false;
}
Code: Select all
<?php if ($noindex) { ?>
<META NAME="ROBOTS" CONTENT="NOINDEX, NOFOLLOW">
<?php } ?>
I'm getting error: Notice: Undefined variable: noindex in /home/user/public_html/vqmod/vqcache/vq2-catalog_view_theme_default_template_common_header.tpl on line 7
I've cleared the cache however the same is happening.
I've cleared the cache however the same is happening.
OpenCart SEO Services
http://tomeda.bg
sorry.
for 1.5
for 1.5
Code: Select all
if ($this->language->get('code') == 'bg') {
$this->data['noindex'] = true;
} else {
$this->data['noindex'] = false;
}
Hi,
I know it was long time ago, but I still can't make it work as it should! Implemented exactly the code you gave me in exact files you told me, however I can't see noindex, nofollow meta tag in english version header.
I know it was long time ago, but I still can't make it work as it should! Implemented exactly the code you gave me in exact files you told me, however I can't see noindex, nofollow meta tag in english version header.
OpenCart SEO Services
http://tomeda.bg
Who is online
Users browsing this forum: No registered users and 131 guests