Something missed in
admin/view/template/catalog/product_form.php before or after the meta description:
A few more places you have to add in meta keywords but you can just copy the meta description part.
The admin works 100%
In
in catalog/view/theme/default/template/common/header.tpl and
in catalog/controller/product/product.php there is something missing somewhere.
I'll find it and post it up.
Webstudent1
admin/view/template/catalog/product_form.php before or after the meta description:
A few more places you have to add in meta keywords but you can just copy the meta description part.
The admin works 100%
In
in catalog/view/theme/default/template/common/header.tpl and
in catalog/controller/product/product.php there is something missing somewhere.
I'll find it and post it up.
Webstudent1
Hello,
I did what you said, but I have an error
Notice: Undefined variable: keywords in /home/xxxxxx/public_html/simona/catalog/view/theme/default/template/common/header.tpl on line 6
on line 6 is bolded
<?php if (!strpos($_SERVER['HTTP_USER_AGENT'], 'MSIE 6')) echo '<?xml version="1.0" encoding="UTF-8"?>'. "\n"; ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" dir="<?php echo $direction; ?>" lang="<?php echo $lang; ?>" xml:lang="<?php echo $lang; ?>">
<head>
<title><?php echo $title; ?></title>
<?php if ($keywords) { ?>
<meta name="keywords" content="<?php echo $keywords; ?>" />
<?php } ?><?php if ($description) { ?>
<meta name="description" content="<?php echo $description; ?>" />
<?php } ?>
I did what you said, but I have an error
Notice: Undefined variable: keywords in /home/xxxxxx/public_html/simona/catalog/view/theme/default/template/common/header.tpl on line 6
on line 6 is bolded
<?php if (!strpos($_SERVER['HTTP_USER_AGENT'], 'MSIE 6')) echo '<?xml version="1.0" encoding="UTF-8"?>'. "\n"; ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" dir="<?php echo $direction; ?>" lang="<?php echo $lang; ?>" xml:lang="<?php echo $lang; ?>">
<head>
<title><?php echo $title; ?></title>
<?php if ($keywords) { ?>
<meta name="keywords" content="<?php echo $keywords; ?>" />
<?php } ?><?php if ($description) { ?>
<meta name="description" content="<?php echo $description; ?>" />
<?php } ?>
Your undefined variable is $keywords.
I am leaving this alone for a bit I have some other more important things to update for the next while.
I am sure I will run across what your missing because i have to work on the keywords soon.
'll post it here when I find it.
I am leaving this alone for a bit I have some other more important things to update for the next while.
I am sure I will run across what your missing because i have to work on the keywords soon.
'll post it here when I find it.
mwaste and COMPACTER, lol. this thread is full of it.
DownloadXS.com : Stock Photos & Vintage Illustrations, Fresh PLR Articles and more.
http://www.DownloadXS.com
To add petrol to the fire so to speak, if the keyword meta tag is so "useless" and defunct, then why do the following companies still make use of it ....
Amazon:
<meta name="keywords" content="digital camera, LCD TV, books, DVD, low prices, video games, pc games, software, electronics, home, garden, video, amazon"/>
Yahoo:
<meta name="keywords" content="yahoo, yahoo uk, yahoo ireland, yahoo home page, yahoo homepage,yahoo search, yahoo mail, yahoo messenger, news, finance, sport, entertainment,games">
Apple :
<meta name="Keywords" content="Apple" /> --- hehe
bbc:
<meta name="keywords" content="BBC, bbc.co.uk, Search, British Broadcasting Corporation, BBC iPlayer, BBCi" />
I would suggest that there is some miss understanding on what the term "keyword" means as its content for the meta tag is totally different than its context for when used within the copy of the website text.
including meta and meta tag information allows supporting search engines and other services another method of categorising your website, content, and theme.
Additionally I think its also worth pointing out, that although google is perhaps one of the best well known search engines it is not by any means the only search again and no where near the most accurate of search engines in its return results per search term.. Therefore, not considering the inclusion of meta keywords within your project is foolhardy.
just my two peny's worth.
Amazon:
<meta name="keywords" content="digital camera, LCD TV, books, DVD, low prices, video games, pc games, software, electronics, home, garden, video, amazon"/>
Yahoo:
<meta name="keywords" content="yahoo, yahoo uk, yahoo ireland, yahoo home page, yahoo homepage,yahoo search, yahoo mail, yahoo messenger, news, finance, sport, entertainment,games">
Apple :
<meta name="Keywords" content="Apple" /> --- hehe
bbc:
<meta name="keywords" content="BBC, bbc.co.uk, Search, British Broadcasting Corporation, BBC iPlayer, BBCi" />
I would suggest that there is some miss understanding on what the term "keyword" means as its content for the meta tag is totally different than its context for when used within the copy of the website text.
including meta and meta tag information allows supporting search engines and other services another method of categorising your website, content, and theme.
Additionally I think its also worth pointing out, that although google is perhaps one of the best well known search engines it is not by any means the only search again and no where near the most accurate of search engines in its return results per search term.. Therefore, not considering the inclusion of meta keywords within your project is foolhardy.
just my two peny's worth.
Yes it is all crap and useless.
But if you want google sitelinks the requirements are.
* site registered with google for more than 2+ years
* search engine referrals over 100 per day
* meta descriptions used on webpages
AND wait, wait, wait, wait.
but why when meta keywords are added the your sitelinks possiblity increases.
so is sitelinks worth all this trouble.
I still want them for something I am working on. obviously it is low priority
But if you want google sitelinks the requirements are.
* site registered with google for more than 2+ years
* search engine referrals over 100 per day
* meta descriptions used on webpages
AND wait, wait, wait, wait.
but why when meta keywords are added the your sitelinks possiblity increases.
so is sitelinks worth all this trouble.
I still want them for something I am working on. obviously it is low priority
Qphoria wrote:And its worth about 2 pennies.
They use it simply because
they've been around a long time and they never removed it from their code
or
their code has a field for it so they feel compelled to enter it
or
they got tired of people whining about it so they just added it.
I doubt that any of the three above points are true and is purely speculation, the point is, it hasn't been proven that the inclusion of meta keywords data has a negative effect on the "health" of your website (if constructed correctly), when some one can prove, that including meta keyword data is detrimental then I'm sure will see the likes of the above companies remove that data, but to state they meta keyword data is useless (when not purely in the context of google (open cart is non discriminating of search engines ) is blinkered, ill informed and not correct.
In fact Yahoo for one do put weight behind the meta keyword tag and thus the benefit of including this tag in your pages if only for perhaps ranking factors in Yahoo out weighs the argument not to include them, after all don't we all want our websites to be found within all the search engines?
I would also argue why people argument their cases as google say this, and google say that there is more than one search engine! I don't doubt that Google is a major player, but websites are typically accessible from the entire world and such, and now that ecommcere is a global platform and Google isn't the predominate search engine in many countries. Russia is a prime example with Yandex being the browser of choice, and Baidu for China. I find comical that individuals cannot see past google.
The discussion on meta keywords inclusion/omission is so google centric that a lot of folk are blinkered to the bigger picture and the purpose of the meta keyword tag in the www as a whole.
The reason why I am doing meta keywords is 2 fold.
#1 add in the meta keywords as it is supposed to help with SITE LINK qualification.
#2 use the keywords to populate a module that randomly displays the products keywords in a box to help boost them on search engines.
Now I am sure #1 + #2 make this a great search engine little tool.
If i ever get the time to complete this I will be posting it up.
Hopefully this week.
#1 add in the meta keywords as it is supposed to help with SITE LINK qualification.
#2 use the keywords to populate a module that randomly displays the products keywords in a box to help boost them on search engines.
Now I am sure #1 + #2 make this a great search engine little tool.
If i ever get the time to complete this I will be posting it up.
Hopefully this week.
Hi I'm pretty new with Opencart.innovationweb wrote:Hello,
I did what you said, but I have an error
Notice: Undefined variable: keywords in /home/xxxxxx/public_html/simona/catalog/view/theme/default/template/common/header.tpl on line 6
on line 6 is bolded
<?php if (!strpos($_SERVER['HTTP_USER_AGENT'], 'MSIE 6')) echo '<?xml version="1.0" encoding="UTF-8"?>'. "\n"; ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" dir="<?php echo $direction; ?>" lang="<?php echo $lang; ?>" xml:lang="<?php echo $lang; ?>">
<head>
<title><?php echo $title; ?></title>
<?php if ($keywords) { ?>
<meta name="keywords" content="<?php echo $keywords; ?>" />
<?php } ?><?php if ($description) { ?>
<meta name="description" content="<?php echo $description; ?>" />
<?php } ?>
I had the same error.
This is what I did.
in catalog/controller/common/header.php
After:
Code: Select all
$this->data['description'] = $this->document->description;
Code: Select all
$this->data['keywords'] = $this->document->keywords;
After:
Code: Select all
$this->document->description = $this->config->get('config_meta_description');
Code: Select all
$this->document->keywords = $this->config->get('config_meta_keywords');
Looks like someone just took the directions given, cleaned it up, and released it as a paid package.greenire2001 wrote:I find something on http://opencart.install.ro. keywords module for openCart 1.4.7
Hi,
Can anybody tell me how the home page of my store www.mmashop.bg i can add meta tags <keywords>, coz currently missing .....?
I read things, but never knew which solution works.
Thank you in advance !
Can anybody tell me how the home page of my store www.mmashop.bg i can add meta tags <keywords>, coz currently missing .....?
I read things, but never knew which solution works.
Thank you in advance !
Norman in 't Veldt
Moderator OpenCart Forums
_________________ READ and Search BEFORE POSTING _________________
Our FREE search: Find your answer FAST!.
[How to] BTW + Verzend + betaal setup.
This version only works up to 1.4.9.3. I've modified and tested this for my 1.4.9.5 store but it should also work with 1.4.9.4 and 1.4.9.6
Usual caution to backup files before installing!
Correct me if I am wrong here guys (I'm sure you will ha), but if you enter META Keywords that are not part of the body of the site, don't you get penalised for so called 'Keyword Spamming'?
With regards to site links, this search says differently about META Keywords being required for site links
http://www.google.co.uk/search?hl=en&so ... gle+Search
With regards to site links, this search says differently about META Keywords being required for site links
http://www.google.co.uk/search?hl=en&so ... gle+Search
SiteE@se wrote:This version only works up to 1.4.9.3. I've modified and tested this for my 1.4.9.5 store but it should also work with 1.4.9.4 and 1.4.9.6
Usual caution to backup files before installing!
It has been updated (on my request) to work with 1.5.x
Norman in 't Veldt
Moderator OpenCart Forums
_________________ READ and Search BEFORE POSTING _________________
Our FREE search: Find your answer FAST!.
[How to] BTW + Verzend + betaal setup.
Who is online
Users browsing this forum: Amazon [Bot] and 14 guests