How do I remove the small words of keywords tag?

phpBB SEO Premod for phpBB3 support forum.
This premodded version of phpBB3 includes the three different type of URL rewriting for phpBB3 by phpBB SEO. It comes with several other Search Engine Optimization mods installed.

Moderator: Moderators

How do I remove the small words of keywords tag?

Postby umarizal » Tue Sep 29, 2009 10:21 pm

Hello.

I want to remove the small words of this field:
<meta name="keywords" content="" />

Words with until 3 or 4 words...

The opition in the phpBB SEO Premod only removes small words in the URL, right? I also want to remove small words in the keywords too, is this possible?

My website: http://www.guiadaobra.net

Big Hugs for all!

Sorry by my bad English... my language is Portuguese.
umarizal
 
Posts: 24
Joined: Fri Sep 25, 2009 12:28 pm
Location: São Paulo - SP - Brasil

Advertisement

Re: How do I remove the small words of keywords tag?

Postby dcz » Sat Oct 03, 2009 1:33 pm

Yes words of less than three letters are removed from keyword ta by default, you can set it up in includes/function.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),
   );


Note that next version will allow you do do the tune up from acp ;)

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

Re: How do I remove the small words of keywords tag?

Postby umarizal » Sat Oct 03, 2009 4:44 pm

Thank you very much my friend... I change to wordminlen : 3

Good Bye!
umarizal
 
Posts: 24
Joined: Fri Sep 25, 2009 12:28 pm
Location: São Paulo - SP - Brasil

Re: How do I remove the small words of keywords tag?

Postby selfmade » Wed Jul 04, 2012 12:23 am

sry my englisch is not best.

does it mean in my seo mod words of less 3 letters are removed only from URL and i do have take this code that is also removed inside of threads or is it already done with this mod?
selfmade
 
Posts: 3
Joined: Tue Jun 19, 2012 3:28 am

Re: How do I remove the small words of keywords tag?

Postby umarizal » Fri Aug 16, 2013 10:04 pm

Hello friends!

I'm currently using phpBB SEO Premod (version 3.0.11) and activated the "Remove small words" selecting "yes".

The words removed are 3 letters or less. I would like to remove some words in Portuguese has 4 letters as the preposition "to" (in portuguese is "para"). But I can not remove all the words with 4 letters as some, such as home (in portuguese "casa"), are very important especially in the subject of my forum (civil construction).

Is there a way I can choose which words to remove? It would be interesting to remove of the URL all the words of the file "/language/en/search_ignore_words.php" (in my case, /pt-BR/).
umarizal
 
Posts: 24
Joined: Fri Sep 25, 2009 12:28 pm
Location: São Paulo - SP - Brasil


Return to phpBB SEO Premod

 


  • Related topics
    Replies
    Views
    Last post

Who is online

Users browsing this forum: No registered users and 1 guest