META MOD - includes bad keywords ?

Support for the phpBB3 SEO mods released in the phpBB3 SEO Toolikt forum.

Moderator: Moderators


META MOD - includes bad keywords ?

Postby mrix » Wed Jul 29, 2009 9:38 am

Hi there, I was wonder if it is possible to auto remove the bad keywords like . and, if, that etc that get added to the meta tags by default when using this Mod?
Thanks for any help
mrix
mrix
 
Posts: 30
Joined: Sat Dec 22, 2007 10:02 am

Advertisement

Re: META MOD - includes bad keywords ?

Postby dcz » Thu Jul 30, 2009 8:41 am

Apply this patch : Found error in function make_keywords

and then you'll be able to turn on the check_ignore option in includes/functions.php :
Code: Select all
   /**
   * Some config :
   *   => keywordlimit : number of keywords (max) in the keyword tag,
   *   => wordlimit : number of words (max) in the desc tag,
   *   => wordminlen : only words with more than wordminlen letters will be used, default is 2,
   *   => bbcodestrip : | separated list of bbcode to fully delete, tag + content, default is 'img|url|flash',
   *   => ellipsis : ellipsis to use if clipping,
   *   => topic_sql : Do a SQL to build topic meta keywords or just use the meta desc tag,
   *   => check_ignore : Check the search_ignore_words.php list.
   *      Please note :
   *         This will require some more work for the server.
   *         And this is mostly useless if you have re-enabled the search_ignore_words.php list
   *         filtering in includes/search/fulltest_native.php (and of course use fulltest_native index).
   *   => bypass_common : Bypass common words in viewtopic.php.
   *      Set to true by default because the most interesting keywords are as well among the most common.
   *      This of course provides with even better results when fulltest_native is used
   *      and search_ignore_words.php list was re-enabled.
   *   => disallowed : Disallow tag based on GET var used : varname => 1|0, 1 will through a disallow meta tag.
   *   => noindex_files : Disallow tag based on the physical script file name
   * Some default values are set bellow in the seo_meta_tags() method
   **/
   var $mconfig = array('keywordlimit' => 15, 'wordlimit' => 25, 'wordminlen' => 2, 'bbcodestrip' => 'img|url|flash|code', 'ellipsis' => ' ...', 'topic_sql' => true, 'check_ignore' => false, 'bypass_common' => true,
      // Consider adding ", 'p' => 1" if your forum is no indexed yet or if no post urls are to be redirected
      // to add a noindex tag on post urls
      'disallowed' => array('style' => 1, 'hilit' => 1, 'print' => 1, 'sid' => 1),
      // noindex based on physical script file name
      'noindex_files' => array("ucp" => 1),
   );


++
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: 20100
Joined: Fri Apr 28, 2006 9:03 pm

Re: META MOD - includes bad keywords ?

Postby mrix » Thu Jul 30, 2009 9:53 am

Thats really great and works so well :D
Many thanks for your time and the fix :D
Cheers
mrix
mrix
 
Posts: 30
Joined: Sat Dec 22, 2007 10:02 am


Return to phpBB SEO MODS

 


  • Related topics
    Replies
    Views
    Last post

Who is online

Users browsing this forum: No registered users and 4 guests


 
cron