phpBB SEO
Boards
Directory  
SEO  
Downloads
  phpBB SEO : Search Engine Optimization, Directory, Forums  
Index
Forums
Annuaire
Référencement
Télécharger
 
  Search Rechercher
    Register
Username :  Password :  Log me on automatically each visit  
S'enregistrer  
 
   
About phpBB SEO Dynamic Meta tags

 
Post new topic   Reply to topic    phpBB SEO » SEO Forum  » phpBB SEO TooLKit  » phpBB SEO MODS
::  
Author Message
Divvy



Joined: 17 Jul 2008
Posts: 44

About phpBB SEO Dynamic Meta tagsPosted: Fri Jul 18, 2008 12:48 am    Post subject: About phpBB SEO Dynamic Meta tags

Hi mates,

I have installed this mod in my board. But now I have a question...
Since this mod adds new meta in my pages, what should I do with the existing meta in overall_header?

Like:
<meta name="keywords" ...>
<meta name="description" ...>
<title>{PAGE_TITLE}</title>

Should I remove them? The instruction file doesn't mention that, but is weird because if I dont remove, will appear duplicated metas...

P.S. Sorry for my poor english...
Back to top
SeO
Administrateur - Site Admin
Administrateur - Site Admin


Joined: 15 Mar 2006
Posts: 3477

About phpBB SEO Dynamic Meta tagsPosted: Fri Jul 18, 2008 8:49 am    Post subject: Re: About phpBB SEO Dynamic Meta tags

Well of course, if you added some meta, you need to get rid of them before you install the mod.

_________________
phpBB SEO || SEO Forum || Forum Référencement
GYM Sitemap & RSS for phpBB3 has been released ! || GYM Sitemap & RSS for phpBB3 est disponible !
Back to top
Divvy



Joined: 17 Jul 2008
Posts: 44

About phpBB SEO Dynamic Meta tagsPosted: Fri Jul 18, 2008 10:35 am    Post subject: Re: About phpBB SEO Dynamic Meta tags

Thank you Se0

Btw, <title>{PAGE_TITLE}</title> is the same as <meta name="title" content="...">?
Back to top
SeO
Administrateur - Site Admin
Administrateur - Site Admin


Joined: 15 Mar 2006
Posts: 3477

About phpBB SEO Dynamic Meta tagsPosted: Fri Jul 18, 2008 10:41 am    Post subject: Re: About phpBB SEO Dynamic Meta tags

You are talking about the content not the tag themselves right ?

Well, it's not very important, the meta title is just a recall.

_________________
phpBB SEO || SEO Forum || Forum Référencement
GYM Sitemap & RSS for phpBB3 has been released ! || GYM Sitemap & RSS for phpBB3 est disponible !
Back to top
Divvy



Joined: 17 Jul 2008
Posts: 44

About phpBB SEO Dynamic Meta tagsPosted: Fri Jul 18, 2008 11:11 am    Post subject: Re: About phpBB SEO Dynamic Meta tags

Thank you!

Last question hehe
I have installed

In instruction file have this to add:
<title>{PAGE_TITLE}</title>

This inst better?
<title>{PAGE_TITLE} - {SITENAME}</title>

Because in the forum sections and in the topics, I will get:
Topic name - Forum name

isn't the forum name important to show in the sections and topics as well?
I´m asking this, because I know an other forum that is in the first page of the google (3rd place) with the keyword "sexo" (that I want to) and he have like that...


--------------------------------------------- EDIT:


Btw, If I add this:
<title>{PAGE_TITLE} - {SITENAME}</title>

Everything works ok in forum sections and topics. But in Index got this:
Forum name - Forum name
Is possible to show only:
Forum name

How? Maybe change this line in index.php?
Code:
while ($row = $db->sql_fetchrow($result))
{
   $category_rows[] = $row;
   // www.phpBB-SEO.com SEO TOOLKIT BEGIN
   if ( $row['cat_id'] == $viewcat ) { $this_cat_title = $row['cat_title']; }
   // www.phpBB-SEO.com SEO TOOLKIT END
}
Back to top
dcz
Administrateur - Site Admin
Administrateur - Site Admin


Joined: 28 Apr 2006
Posts: 14327

About phpBB SEO Dynamic Meta tagsPosted: Fri Jul 18, 2008 12:40 pm    Post subject: Re: About phpBB SEO Dynamic Meta tags

For the duplicate forum name if you want to use it (it's not making a great difference but ...), replace :
Code:
   // www.phpBB-SEO.com SEO TOOLKIT BEGIN - TITLE
   $page_title = ($this_cat_title) ? $this_cat_title : $board_config['sitename'];
   // www.phpBB-SEO.com SEO TOOLKIT END - TITLE


with :

Code:
   // www.phpBB-SEO.com SEO TOOLKIT BEGIN - TITLE
   $page_title = ($this_cat_title) ? $this_cat_title : '';
   // www.phpBB-SEO.com SEO TOOLKIT END - TITLE


in index.php.

_________________
Useful links :
SEO Forum || SEO Directory || SEO phpBB || SEO phpBB3 || Search
____________________

Liens Utiles :
Forum référencement || Annuaire référencement || Référencement phpBB || Référencement phpBB3 || Recherche
Back to top
Visit poster's website
Divvy



Joined: 17 Jul 2008
Posts: 44

About phpBB SEO Dynamic Meta tagsPosted: Fri Jul 18, 2008 1:42 pm    Post subject: Re: About phpBB SEO Dynamic Meta tags

Thank you for the help SeO Smile

Is almost perfect...
Now I have:
Forum Section - Forum Name
Topic Name - Forum Name


But in index appears:
- Forum Name

How can I remove the "-"?

This is what I have in overall_header.tpl:
<title>{PAGE_TITLE} - {SITENAME}</title>

If I change to (without -):
<title>{PAGE_TITLE} {SITENAME}</title>

My index will appear:
<title> Viciados no Sexo</title> (notice the space before title, will get problems with this in future?)

And the other titles:
Topic name forum name (dont appear the - that I like to appear)



-----------------------


Sorry if I be annoying...
Any suggestions?



--------------------------------------------- EDIT:

Well, I fix the problem in forum sections and topics, with that:

viewforum.php
Code:
$page_title = $forum_row['forum_name'] . $extra_title . ' -';


viewtopic.php
Code:
$page_title = $topic_title . $extra_title . ' -';


I have added the "-"
Now the only problem is the space before the forum name in index.
hmmmm, maybe I found a solution, like that:
<title>{PAGE_TITLE}{SITENAME}</title>

The only problem is in the other pages titles, like search, profile, etc... will get:
Page TitleForum Name (without spaces)

DAMN
Back to top
Divvy



Joined: 17 Jul 2008
Posts: 44

About phpBB SEO Dynamic Meta tagsPosted: Fri Jul 18, 2008 2:10 pm    Post subject: Re: About phpBB SEO Dynamic Meta tags

What is the best solution or my problem?

Is possible to add a specific title to appears only in index.php?
I think that is the better solution...
Back to top
dcz
Administrateur - Site Admin
Administrateur - Site Admin


Joined: 28 Apr 2006
Posts: 14327

About phpBB SEO Dynamic Meta tagsPosted: Fri Jul 18, 2008 2:27 pm    Post subject: Re: About phpBB SEO Dynamic Meta tags

That's part of why we do not add {SITENAME} in the templates ...

The title is then only determined in the code, before the page_header.php inclusion.

To add your sitename without changing the templates, you could replace :
Code:
   'PAGE_TITLE' => $page_title,


with :

Code:
   'PAGE_TITLE' => $page_title . ' - ' . $board_config['sitename'],


in includes/page_header.php

and then use the regular code for the optimal title mod.

_________________
Useful links :
SEO Forum || SEO Directory || SEO phpBB || SEO phpBB3 || Search
____________________

Liens Utiles :
Forum référencement || Annuaire référencement || Référencement phpBB || Référencement phpBB3 || Recherche
Back to top
Visit poster's website
Divvy



Joined: 17 Jul 2008
Posts: 44

About phpBB SEO Dynamic Meta tagsPosted: Fri Jul 18, 2008 2:42 pm    Post subject: Re: About phpBB SEO Dynamic Meta tags

Thank you so much, nice idea Smile

The only problem now is in index that appears:
- Forum Name

How can I remove the "-"?
Is possible to add a specific title to appears only in index.php?
For example, I will put "This is a test" and that only appears in index title without appearing the "-".
Back to top
dcz
Administrateur - Site Admin
Administrateur - Site Admin


Joined: 28 Apr 2006
Posts: 14327

About phpBB SEO Dynamic Meta tagsPosted: Fri Jul 18, 2008 2:44 pm    Post subject: Re: About phpBB SEO Dynamic Meta tags

Use :

Code:
   'PAGE_TITLE' => (!empty($page_title) ?  $page_title . ' - '  : '' ) . $board_config['sitename'],


Instead Wink

_________________
Useful links :
SEO Forum || SEO Directory || SEO phpBB || SEO phpBB3 || Search
____________________

Liens Utiles :
Forum référencement || Annuaire référencement || Référencement phpBB || Référencement phpBB3 || Recherche
Back to top
Visit poster's website
Divvy



Joined: 17 Jul 2008
Posts: 44

About phpBB SEO Dynamic Meta tagsPosted: Fri Jul 18, 2008 2:49 pm    Post subject: Re: About phpBB SEO Dynamic Meta tags

Where is to add that code? Smile
Back to top
dcz
Administrateur - Site Admin
Administrateur - Site Admin


Joined: 28 Apr 2006
Posts: 14327

About phpBB SEO Dynamic Meta tagsPosted: Fri Jul 18, 2008 2:49 pm    Post subject: Re: About phpBB SEO Dynamic Meta tags

Still the same piece of in includes/page_header.php Wink

_________________
Useful links :
SEO Forum || SEO Directory || SEO phpBB || SEO phpBB3 || Search
____________________

Liens Utiles :
Forum référencement || Annuaire référencement || Référencement phpBB || Référencement phpBB3 || Recherche
Back to top
Visit poster's website
Divvy



Joined: 17 Jul 2008
Posts: 44

About phpBB SEO Dynamic Meta tagsPosted: Fri Jul 18, 2008 2:53 pm    Post subject: Re: About phpBB SEO Dynamic Meta tags

Opsss sorry hehe Embarassed

Yeahhhhhh It works !!!! Now is all working perfectly !!! Thank you so much SeO, YOU'RE THE MAN!
Back to top
Display posts from previous:   
Post new topic   Reply to topic    phpBB SEO » SEO Forum  » phpBB SEO TooLKit  » phpBB SEO MODS
Page 1 of 1

Navigation Similar Topics

Jump to: