| :: |
| Author |
Message |
Divvy
Joined: 17 Jul 2008 Posts: 44
|
Posted: 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

Joined: 15 Mar 2006 Posts: 3477
|
|
| Back to top |
|
 |
Divvy
Joined: 17 Jul 2008 Posts: 44
|
Posted: 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

Joined: 15 Mar 2006 Posts: 3477
|
|
| Back to top |
|
 |
Divvy
Joined: 17 Jul 2008 Posts: 44
|
Posted: 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

Joined: 28 Apr 2006 Posts: 14327
|
|
| Back to top |
|
 |
Divvy
Joined: 17 Jul 2008 Posts: 44
|
Posted: Fri Jul 18, 2008 1:42 pm Post subject: Re: About phpBB SEO Dynamic Meta tags |
|
|
Thank you for the help SeO
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
|
Posted: 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

Joined: 28 Apr 2006 Posts: 14327
|
Posted: 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 |
|
 |
Divvy
Joined: 17 Jul 2008 Posts: 44
|
Posted: Fri Jul 18, 2008 2:42 pm Post subject: Re: About phpBB SEO Dynamic Meta tags |
|
|
Thank you so much, nice idea
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

Joined: 28 Apr 2006 Posts: 14327
|
|
| Back to top |
|
 |
Divvy
Joined: 17 Jul 2008 Posts: 44
|
Posted: Fri Jul 18, 2008 2:49 pm Post subject: Re: About phpBB SEO Dynamic Meta tags |
|
|
Where is to add that code?  |
|
|
| Back to top |
|
 |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 14327
|
|
| Back to top |
|
 |
Divvy
Joined: 17 Jul 2008 Posts: 44
|
Posted: Fri Jul 18, 2008 2:53 pm Post subject: Re: About phpBB SEO Dynamic Meta tags |
|
|
Opsss sorry hehe
Yeahhhhhh It works !!!! Now is all working perfectly !!! Thank you so much SeO, YOU'RE THE MAN! |
|
|
| Back to top |
|
 |
|
|