Dynamic Meta MOD

Discussions about the phpBB3 Forum. How to get the best from this powerful script.
Note that there is no official support for phpBB3 here, a place to share more than to ask for.

Moderator: Moderators

Dynamic Meta MOD

Postby kotico » Tue Aug 26, 2008 5:56 pm

Well I cant seem to get the keywords that I am looking for... the MOD is getting the keywords from the Title and not from the posts (text) where is the real text and keywords that I am looking to have.

Anyone knows how I can tell this MOD to collect keywords from the posts and not from the tiltes and/or site description :wink:
kotico
 
Posts: 2
Joined: Tue Aug 26, 2008 5:50 pm

Advertisement

Postby dcz » Thu Aug 28, 2008 7:14 am

That's what the mod is doing : http://phpbb3.phpbb-seo.net/demo-en/the ... um-t3.html

Code: Select all
<meta name="description" lang="en" content="Welcome in the demo forum. Support for this premod is provided here : http://www.phpbb-seo.com/boards/phpbb-seo-premod-vf61/ For other matter, please visit : http://www.phpbb-seo.com/boards/ " />
<meta name="keywords"    content="demo, the, premod, forum, www, support, for, com, http, seo, phpbb" />


"support" is not part of the title for example.

++
Useful links :
SEO Forum || SEO Directory || SEO phpBB || Search
____________________

Liens Utiles :
Forum référencement || Annuaire référencement || Référencement phpBB || Recherche
dcz
Admin
Admin
 
Posts: 21407
Joined: Fri Apr 28, 2006 9:03 pm

Postby kotico » Fri Aug 29, 2008 12:11 am

On my forum, the keywords are been taken from title only... dunno why :(
toxx xicas . com/foro is in spanish
kotico
 
Posts: 2
Joined: Tue Aug 26, 2008 5:50 pm

Postby dcz » Mon Sep 01, 2008 7:59 am

It must be because you are using the mysql full text index, or no index at all.

There is a little typo in the mod for such cases, please replace :

Code: Select all
      $seo_meta->meta['keywords'] = !empty($m_kewrd) ? $seo_meta->make_keywords($m_kewrd) : $seo_meta->make_keywords($seo_meta->meta['meta_desc']);


with :
Code: Select all
      $seo_meta->meta['keywords'] = !empty($m_kewrd) ? $seo_meta->make_keywords($m_kewrd) : $seo_meta->make_keywords($message);


in viewtopic.php, and you'll actually get words from the topics first post ;)

++
Useful links :
SEO Forum || SEO Directory || SEO phpBB || Search
____________________

Liens Utiles :
Forum référencement || Annuaire référencement || Référencement phpBB || Recherche
dcz
Admin
Admin
 
Posts: 21407
Joined: Fri Apr 28, 2006 9:03 pm


Return to phpBB Forum

 


  • Related topics
    Replies
    Views
    Last post

Who is online

Users browsing this forum: No registered users and 18 guests