allan1015 wrote:The logic should be to use meta_def[] values if they exist, else use the meta value
You certainly do not want this. The only interest in using meta tags is if they are unique, especially for the meta description since it my be used by search engine in result list snippets.
Also, things like always adding default value in dynamic one is not a good idea since again it will not result in any SERP boost but rather into less specific thus mess efficient meta tags (since in such case the page may just not contain the keywords and the desc may not describe it either).
As you noticed, for index, forum and topic (including posts) meta keywords/desc are always defined by the mod, but it's not necessarily the case for all possible pages (including the one you may add).
You can specify keywords and description in any page by just adding :
- Code: Select all
// www.phpBB-SEO.com SEO TOOLKIT BEGIN - META
$seo_meta->collect('description', "the description you want, can be a variable");
$seo_meta->collect('keywords', "the keywords you want, can be a variable");
// www.phpBB-SEO.com SEO TOOLKIT END - META
before page_header is called.