| :: |
| Author |
Message |
legal
Joined: 05 Jul 2006 Posts: 42
|
Posted: Wed Jul 05, 2006 3:26 pm Post subject: Page Title |
|
|
Hi All - what a great forum!
A quick (probably easy) question please...
I'm happy with the the format of the page titles in my site, apart from on the index page.
They all display as
Site Title: :Page Title
but on the Index page I would just like
Site Title
Any ideas please....
Thanks guys.
 |
|
|
| Back to top |
|
 |
|
 |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 15135
|
|
| Back to top |
|
 |
legal
Joined: 05 Jul 2006 Posts: 42
|
Posted: Wed Jul 05, 2006 5:06 pm Post subject: Re: Page Title |
|
|
| Yes sorry, phpbb. |
|
|
| Back to top |
|
 |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 15135
|
Posted: Wed Jul 05, 2006 5:15 pm Post subject: Re: Page Title |
|
|
All right then,
| Code: | #
#-----[ OPEN ]------------------------------------------
#
/templates/*yourtemplate*/overall_header.tpl
#
#-----[ FIND ]------------------------------------------
#
<title>{SITENAME} :: {PAGE_TITLE}</title>
#
#-----[ REPLACE, WITH ]------------------------------------------
#
<title>{PAGE_TITLE}</title>
#
#-----[ OPEN ]------------------------------------------
#
/index.php
#
#-----[ FIND ]------------------------------------------
#
$page_title = $lang['Index'];
#
#-----[ REPLACE, WITH ]------------------------------------------
#
$page_title = $board_config['sitename'];
#
#-----[ OPEN ]------------------------------------------
#
/viewtopic.php
#
#-----[ FIND ]------------------------------------------
#
$page_title = $lang['View_topic'] .' - ' . $topic_title;
#
#-----[ REPLACE, WITH ]------------------------------------------
#
$page_title = $board_config['sitename'] .' :: ' . $topic_title;
#
#-----[ OPEN ]------------------------------------------
#
/viewforum.php
#
#-----[ FIND ]------------------------------------------
#
$page_title = $lang['View_forum'] . ' - ' . $forum_row['forum_name'];
#
#-----[ REPLACE, WITH ]------------------------------------------
#
$page_title = $board_config['sitename'] .' :: ' . $forum_row['forum_name'];
|
And it should be ok for what you want to do, I'll soon put together an fully SEOed title mod for phpBB
++ |
_________________ 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 |
|
 |
legal
Joined: 05 Jul 2006 Posts: 42
|
Posted: Thu Jul 06, 2006 4:02 pm Post subject: Re: Page Title |
|
|
Thanks very much for that. Having now taken a little look through the rest of your forums, I'm going to hold fire for now.
I see that PHP SEO is a BIIIIG topic and I'll need to sit down one quiet Sunday afternoon and get my site all sorted out using all of your notes.
Once again - brilliant forum!
 |
|
|
| Back to top |
|
 |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 15135
|
Posted: Thu Jul 06, 2006 4:38 pm Post subject: Re: Page Title |
|
|
Thanks a lot
And you are right, Search Engine Optimization requires to think about it a bit.
Setting up and following a proper strategy can make you save a lot of time and drastically change the results in search engines.
So it's good to take some time to think about which mod to use, the ones being the most adapted to your project and the effort you'll be ready to put into it.
And then, to test them locally is as well a good thing to do if you want everything set up right the first time online.
Feel free to ask for more info about the mods here, or some specific advises about your project.
++ |
_________________ 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 |
|
 |
Hannibal_King PR0

Joined: 22 Jun 2006 Posts: 78
|
Posted: Thu Jul 06, 2006 4:40 pm Post subject: Re: Page Title |
|
|
| dcz wrote: | I'll soon put together an fully SEOed title mod for phpBB  |
when will be this created?  |
|
|
| Back to top |
|
 |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 15135
|
Posted: Thu Jul 06, 2006 4:44 pm Post subject: Re: Page Title |
|
|
| Hannibal_King wrote: | | dcz wrote: | I'll soon put together an fully SEOed title mod for phpBB  |
when will be this created?  |
As soon as I get some time
The one suggested here is already better than the one by default.
I'd just get rid of
| Code: | | $board_config['sitename'] .' :: ' . |
in the code, not to output the sitename, but the topic and forum titles only to SEO a bit more here.
The final code will more or less do this
++ |
_________________ 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 |
|
 |
legal
Joined: 05 Jul 2006 Posts: 42
|
Posted: Tue Jul 11, 2006 8:57 am Post subject: Re: Page Title |
|
|
| Thanks for this. It worked! |
|
|
| Back to top |
|
 |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 15135
|
|
| Back to top |
|
 |
Silverado05 PR0

Joined: 01 Jul 2006 Posts: 51 Location: Texas
|
Posted: Mon Jul 31, 2006 11:17 pm Post subject: Re: Page Title |
|
|
| That's perfect!!! I had did another SEO mod that changed the paged titles but on the index page it said index instead of my forum name. Also I wanted my forum name with the topic or forum title which this does now. You are truley amazing when it comes to SEO for phpBB. This is not the first mod I have installed from you, and won't be the last. |
|
|
| Back to top |
|
 |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 15135
|
|
| Back to top |
|
 |
|
|