When google index your phpMyFaq site it will use the generated pages with the html title values as part of the results to any query at google.com
The html title is composed with your configuration Title of the FAQ setting and either the article's title or " - powered by phpMyFAQ 2.0.x". The code segment
Code: Select all
'title' => $faqconfig->get('main.titleFAQ').$title,For "solution id" and "tags" it defaults to " - powered by phpMyFAQ 2.0.x" which is not as useful.
By changing in index.php from
Code: Select all
//
// found a solution ID?
//
if (isset($_REQUEST['solution_id']) && is_numeric($_REQUEST['solution_id']) === true) {
$solution_id = (int)$_REQUEST['solution_id'];
$title = ' - powered by phpMyFAQ '.$faqconfig->get('main.currentVersion');
$keywords = '';
$a = $faq->getIdFromSolutionId($solution_id);
if (is_array($a)) {
$id = $a['id'];
$lang = $a['lang'];
}
}
Code: Select all
//
// found a solution ID?
//
if (isset($_REQUEST['solution_id']) && is_numeric($_REQUEST['solution_id']) === true) {
$solution_id = (int)$_REQUEST['solution_id'];
$title = ' - powered by phpMyFAQ '.$faqconfig->get('main.currentVersion');
$keywords = '';
$a = $faq->getIdFromSolutionId($solution_id);
if (is_array($a)) {
$id = $a['id'];
$lang = $a['lang'];
$title = ' - ' . $faq->getRecordTitle($id);
$keywords = ' ' . $faq->getRecordKeywords($id);
}
}
Code: Select all
//
// Handle the Tagging ID
//
if (isset($_REQUEST['tagging_id']) && is_numeric($_REQUEST['tagging_id'])) {
$tag_id = (int)$_REQUEST['tagging_id'];
$title = ' - ' . $oTag->getTagNameById($tag_id);
$keywords = '';
}Lidio.