[META] Description and keywords

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

Moderator: Moderators

[META] Description and keywords

Postby PDD_20 » Thu Dec 24, 2009 12:31 pm

Hi, some time ago I ask for use my own description and keywords in some files. But now it isnt work with 3.0.6

I use this code in portal, viewtopic and viewforum, what is the code now?

Code: Select all
// www.phpBB-SEO.com SEO TOOLKIT BEGIN - META
$seo_meta->meta['meta_desc'] = "example";
$seo_meta->meta['keywords'] = "example";


Thanks!!!
phpbb SEO URL Premod -- Spanish
http://www.elgrupoinformatico.com
PDD_20
PR1
PR1
 
Posts: 133
Joined: Fri May 23, 2008 4:42 pm
Location: Spain

Advertisement

Re: Description and keywords

Postby PDD_20 » Thu Dec 24, 2009 1:12 pm

Now, I know how do it, the problem is how I can put compound words, for example: "computer forum"

Thanks1
phpbb SEO URL Premod -- Spanish
http://www.elgrupoinformatico.com
PDD_20
PR1
PR1
 
Posts: 133
Joined: Fri May 23, 2008 4:42 pm
Location: Spain

Re: Description and keywords

Postby dcz » Sun Dec 27, 2009 3:31 pm

With the latest version, you should use :
Code: Select all
// www.phpBB-SEO.com SEO TOOLKIT BEGIN - META
$seo_meta->collect('description', "My description"']);
$seo_meta->collect('keywords', "my keywords");
// www.phpBB-SEO.com SEO TOOLKIT END - META

There is yet no way to associate keywords, though, I'm not sure it would make such a difference.

++
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

Re: [META] Description and keywords

Postby worthy » Tue Dec 21, 2010 4:03 am

For the 3.08 same procedure ?
worthy
 
Posts: 43
Joined: Wed Mar 18, 2009 3:04 pm

Re: [META] Description and keywords

Postby dcz » Tue Dec 21, 2010 7:15 am

Exactly ;)
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

Re: [META] Description and keywords

Postby Tymcio » Wed May 11, 2011 1:25 pm

Does it work still? I made this for index.php, but still it doesn't give me keywords and description as I wanted.
I have installed seo ultimate, dynamic meta, optimal titles and gym.

I put that code to index php (replacing the old one):

Code: Select all
// www.phpBB-SEO.com SEO TOOLKIT BEGIN - META
$seo_meta->collect('description', $config['sitename'] . ' : Instalacja systemu, optymalizacja, porady, dodatki, pomoc, aktualności...');
$seo_meta->collect('keywords', 'windows, windows forum, windows 8, windows 7, win 8, win8, win7, win7, win forum');
// www.phpBB-SEO.com SEO TOOLKIT END - META
Tymcio
 
Posts: 1
Joined: Tue May 10, 2011 3:12 pm

Re: [META] Description and keywords

Postby dcz » Sat May 14, 2011 1:49 pm

It should as long as you properly edited your (all of them) overall_header.html.
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


Return to phpBB SEO MODS

 


  • Related topics
    Replies
    Views
    Last post

Who is online

Users browsing this forum: No registered users and 4 guests