[Toolkit] phpBB SEO Dynamic Meta Tags V 0.4.4

phpBB SEO mods by phpBB SEO.

Moderator: Moderators

[Toolkit] phpBB SEO Dynamic Meta Tags V 0.4.4

Postby SeO » Wed Jul 04, 2007 9:48 am

phpBB SEO Dynamic Meta tags
  • Title : phpBB SEO Dynamic Meta tags
  • Author : dcz / http://www.phpbb-seo.com/
  • Description : Generates dynamic meta-tags for phpBB.
  • Version : 0.4.4
  • Installation Level : Eazy.
  • Installation Time : 5 min.
  • phpBB : phpBB 3.0.9

Author's Notes :
This mod will add dynamic meta tags build out with the ending page's content.
It's simple and efficient, will add specific meta tags to all phpBB pages.
A single SQL query is optionally added in viewtopic.php, to grab the first post's most used words (common words can be excluded).
This allow for a better overall relevancy of meta keywords.
The first post of every topic pages is used to build the meta description.
Bbcodes tags are stripped off as well as smileys.

The mod will output index,follow robots tags for all the content found under the best URLs and will add a noindex,follow robots tags for pages such as style preview, print view, sids and highlighted URLs to prevent duplicate indexing.

It as well comes with a feature to activate the search_ignore_words.php filtering for generated meta tags, you will find some documentation about how to re-enable the search_ignore_words.php filtering on the Fulltext native indexing, see the documentation section bellow.

You should not use more than 20 keywords in the keyword meta tags
As well, you should not use too long description tags

If you are using the Ultimate SEO URL mod, you will find many settings in the phpBB SEO extended acp settings.

Otherwise, you'll find some pretty obvious code you may want to modify upon your needs in phpbb_seo/phpbb_seo_meta.php :

Code: Select all
      // default values, leave empty to only output the corresponding tag if filled
      $this->meta_def['robots'] = 'index,follow';
      // global values, if these are empty, the corresponding meta will not show up
      $this->meta['category'] = 'general';
      $this->meta['distribution'] = 'global';
      $this->meta['resource-type'] = 'document';

and :
Code: Select all
         // default values, leave empty to only output the corresponding tag if filled
         $this->meta_def['title'] = $config['sitename'];
         $this->meta_def['description'] = $config['site_desc'];
         $this->meta_def['keywords'] = $config['site_desc'];
         // global values, if these are empty, the corresponding meta will not show up
         $this->meta['lang'] = $config['default_lang'];
         $this->meta['copyright'] = $config['sitename'];


For example, if you're using a portal, you may want to change in phpbb_seo/phpbb_seo_meta.php :

Code: Select all
         // default values, leave empty to only output the corresponding tag if filled
         $this->meta_def['title'] = $config['sitename'];
         $this->meta_def['description'] = $config['site_desc'];
         $this->meta_def['keywords'] = $config['site_desc'];


And hard code infos about the portal, or just anything you may prefer :

Code: Select all
      $this->meta_def['title'] =  "Your default meta title";
      $this->meta_def['description']=  "Your default meta description";
      $this->meta_def['keywords'] =  "your,default,meta,keywords";

These are used as default, in every file not specifying meta tags (search.php, faq.php ...). The page title is each time added in these to make sure all meta will be unique.

Meta Lang :
  • You'll have to make sure you're using the proper meta language settings in phpbb_seo/phpbb_seo_meta.php :
    Code: Select all
             $this->meta['lang'] = $config['default_lang'];


Documentation :
  • Optimizing phpBB meta keywords
    This tutorial will tell you how to re-enable the search_ignore_words.php filtering for the search indexing (if using Fulltext native) and the meta keyword generated (all cases).

Languages :

Demo :

Premod :

Download:
Last edited by SeO on Mon Dec 22, 2008 1:51 pm, edited 4 times in total.
SeO
Admin
Admin
 
Posts: 6334
Joined: Wed Mar 15, 2006 9:41 pm

Advertisement

Re: [Toolkit] phpBB SEO Dynamic Meta Tags V 0.4.4

Postby dcz » Mon Jul 18, 2011 1:40 pm

To obtain support for this mod, please use the phpBB SEO mods forum.

You can post new threads and reply to existing ones.

Please add [meta] in your topic title referring to this mod.

Click on the Watch this thread link to be notified of updates for this mod.

Update :
  • This update is very easy to implement.
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: 21429
Joined: Fri Apr 28, 2006 9:03 pm


Return to phpBB SEO TooLKit

 


  • Related topics
    Replies
    Views
    Last post

Who is online

Users browsing this forum: No registered users and 9 guests