| |
| |
|
|
|
|
| |
|
| |
|
| :: |
| Author |
Message |
palebluedot
Joined: 11 Nov 2007 Posts: 1
|
Posted: Sun Nov 11, 2007 9:43 pm Post subject: phpbb3 search_ignore_words.php and Dynamic Meta Tags |
|
|
This is regarding phpbb3 SEO Dynamic Meta Tags V0.2.0RC1
I am using phpBB3 RC7
I completed the mod and it is dynamically creating meta just fine, but it is not excluding terms in the "search_ignore_words.php" file.
I notice the demo at http://phpbb3.phpbb-seo.net/ is also including meta keywords in the default "search_ignore_words.php" file.
Was I wrong in reading the instructions that this is supposed to be happening?
Thanks. |
|
|
| Back to top |
|
 |
|
 |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 13354
|
Posted: Sun Nov 18, 2007 4:54 pm Post subject: Re: phpbb3 search_ignore_words.php and Dynamic Meta Tags |
|
|
Well, the mod does query for the most used words within the whole forum that are used in the topic's first post of a given thread from the search tables, in viewtopic.php :
| Code: | // www.phpBB-SEO.com SEO TOOLKIT BEGIN - META
if ($i == 0) {
$m_kewrd = '';
$seo_meta['meta_desc'] = meta_filter_txt(word_limit($message));
$sql = "SELECT w.word_text
FROM " . SEARCH_WORDMATCH_TABLE . " m, " . SEARCH_WORDLIST_TABLE . " w
WHERE m.post_id = {$row['post_id']}
AND w.word_id = m.word_id
ORDER BY w.word_count DESC LIMIT 20";
if( ($result = $db->sql_query($sql)) ) {
while ( $meta_row = $db->sql_fetchrow($result) ) {
$m_kewrd .= " " . $meta_row['word_text'];
}
}
$db->sql_freeresult($result);
$seo_meta['keywords'] = !empty($m_kewrd) ? make_keywords($m_kewrd) : make_keywords($seo_meta['meta_desc']);
}
// www.phpBB-SEO.com SEO TOOLKIT END - META |
If the query does not return any result, for example if you have problems with your search tables, the meta description, build with the beginning of the first post will be used instead (most used word first in both cases).
So, if you saw excluded words on forums, it's normal, the search_ignore_words list is not checked for them so far, it's only (indirectly) used for topics.
I'm not sure it would be this worth it for forums, since the meta are then build out forum title and description, we already are able to use our best keywords in there for each.
++ |
_________________ Useful links :
SEO Forum || SEO Directory || SEO phpBB || SEO phpBB3 || Search
____________________
Liens Utiles :
Forum référencement || Annuaire référencement || Référencement phpBB || Référencement phpBB3 || Recherche |
|
| Back to top |
|
 |
mRX
Joined: 15 May 2008 Posts: 1
|
Posted: Thu May 15, 2008 9:23 am Post subject: Re: phpbb3 search_ignore_words.php and Dynamic Meta Tags |
|
|
I'm using the phpBB3 3.0.1 premod.
and with the same problem, the meta keywords are not reflecting the search_ignore_words.php file. Yes, the keywords seem to be coming from the first post. I have rebuild the search tables within phpbb admin and don't what else to do. Everything else seems in order, but would love just content specific keywords.
Question: when installing the premod, doesn't in change the mysql search tables? Do I need to update them?
Forgive me if I'm blind
Cheers |
|
|
| Back to top |
|
 |
SeO Administrateur - Site Admin

Joined: 15 Mar 2006 Posts: 3103
|
Posted: Fri May 16, 2008 10:00 am Post subject: Re: phpbb3 search_ignore_words.php and Dynamic Meta Tags |
|
|
No, the mod does not change the phpBB DB besides adding an entry in the acp module list for the phpBB SEO acp.
So you need to rebuild search table every time you change the search_ignore_words.php.
Then, words listed there should not show up in the topic metas, the only one to play with these exclusions.
URL of you forum ? |
_________________
|
|
| Back to top |
|
 |
|
| Navigation |
Similar Topics |
|
|
|
|
|
|
|
| |
|
|
|
|
| |
|
|
|
|
| |