Hello,
I'm a bit puzzled by the meta tags. The keyword and description tags appear correctly when I view the source of the pages displaying products, but not when I view the homepage, merchants, categories, or brands.
Surely this is not good for SEO?
Is this by design or is there something wrong?
Thanks,
Ben
Hi David,
after inserting the meta tags for SEO, I get a 3" gap on my index page between the adsence and the featured products!
here are the list of the filles that I insertrd the meta tags:
categories, index, setup, merchants, products, search, reviews and brand
please let me know what i did wrong? Thanks.
Jay
Hello Ben,
SEO is focussed towards the product pages (matching the URLs that appear in the sitemap) as these are the only pages that can really be argued to have genuine applicable keywords.
However, it's easy to add meta tags to any other pages that you want to include them on. To do this, add the following code immediately before require("html/header.php"); which can be found towards the end of each main script (e.g. categories.php or search.php).
$header["meta"]["description"] = "Your description here.";
$header["meta"]["keywords"] = "Your,Keywords,Here";
On search.php, you can also include the query if you want, referencing the $q variable, for example:
$header["meta"]["description"] = "Search results for ".html_entities($q,ENT_QUOTES,$config_charset);
$header["meta"]["keywords"] = html_entities($q,ENT_QUOTES,$config_charset);
Hope this helps!
Cheers,
David