Meta-description and Meta-keywords1 user found helpful
I try to get different meta-descriptions and meta-keywords for each site as this seems to be important for SEO.
Of course I made the specific entries in the page properties parts,
but if I have a look to the code in the browser there is no meta-description and no meta-keywords, I have just entries like
"<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<title>MySite :: Home</title>
<meta name="generator" content="concrete5 - 184.108.40.206" />
Has anybody an idea how to solve that?
Thank you very much, Kai
Then I did like:
$akd = $c->getCollectionAttributeValue('meta_description');
$akk = $c->getCollectionAttributeValue('meta_keywords');
<meta name="description" content="<?php echo $akd; ?>">
<meta name="keywords" lang="de" content="<?php echo $akk; ?>">