Dynamic Meta Tags Help

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

Moderator: Moderators

Dynamic Meta Tags Help

Postby Gamerz7 » Thu Jul 24, 2008 6:03 am

Hello, I need some help with the meta tags mod.

I would like to have some static meta tags added that will show on every page, along with the generated tags.

I noticed a part in the phpbb_seo_class.php where it says add your meta tags, hardcoded and stuff. But I can't figure out what to put there.

Could someone please tell me how I go about inputing a static keyword, only need to input 1.

Thanks!
Gamerz7
 
Posts: 9
Joined: Mon Sep 24, 2007 7:26 pm

Advertisement

Postby dcz » Thu Jul 24, 2008 8:19 am

In phpbb_seo_class.php, after :

Code: Select all
      $meta_desc = ( $this->seo_meta['meta_desc'] != '' ) ? $this->seo_meta['meta_desc'] : $this->seo_meta['meta_desc_def'];
      $keywords = ( $this->seo_meta['keywords'] != '' ) ? $this->seo_meta['keywords'] : $this->seo_meta['meta_keywords_def'];


you could add :

Code: Select all
      $meta_desc .= "my extra desc";
      $keywords .= "my, extra, keywords";


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

Postby Gamerz7 » Thu Jul 24, 2008 10:37 am

Thanks alot! Worked :D
Gamerz7
 
Posts: 9
Joined: Mon Sep 24, 2007 7:26 pm


Return to phpBB2 SEO MODS

 


  • Related topics
    Replies
    Views
    Last post

Who is online

Users browsing this forum: No registered users and 1 guest