Page Title

Discussions about the phpBB2 Forum. How to get the best from this powerful script.

Moderator: Moderators

Page Title

Postby legal » Wed Jul 05, 2006 3:26 pm

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.
:D
legal
 
Posts: 42
Joined: Wed Jul 05, 2006 3:22 pm

Advertisement

Postby dcz » Wed Jul 05, 2006 4:00 pm

And welcome ;)
And thanks :D

Are you talking about phpBB ?

If so I'd rather move this post to the phpBB forum ;)

If not, I'll need more info to answer.

++
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 legal » Wed Jul 05, 2006 5:06 pm

Yes sorry, phpbb.
legal
 
Posts: 42
Joined: Wed Jul 05, 2006 3:22 pm

Postby dcz » Wed Jul 05, 2006 5:15 pm

All right then,

Code: Select all
#
#-----[ 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 || 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 legal » Thu Jul 06, 2006 4:02 pm

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!
:D
legal
 
Posts: 42
Joined: Wed Jul 05, 2006 3:22 pm

Postby dcz » Thu Jul 06, 2006 4:38 pm

Thanks a lot :D

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 || 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 Hannibal_King » Thu Jul 06, 2006 4:40 pm

dcz wrote:I'll soon put together an fully SEOed title mod for phpBB ;)

when will be this created? :)
Hannibal_King
PR0
PR0
 
Posts: 78
Joined: Thu Jun 22, 2006 1:34 pm

Postby dcz » Thu Jul 06, 2006 4:44 pm

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: Select all
$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 || 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 legal » Tue Jul 11, 2006 8:57 am

Thanks for this. It worked!
legal
 
Posts: 42
Joined: Wed Jul 05, 2006 3:22 pm

Postby dcz » Tue Jul 11, 2006 10:38 am

You're welcome ;)
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 Silverado05 » Mon Jul 31, 2006 11:17 pm

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.
Silverado05
PR0
PR0
 
Posts: 51
Joined: Sat Jul 01, 2006 8:38 pm
Location: Texas

Postby dcz » Mon Jul 31, 2006 11:19 pm

Amazing :lol:

Thanks ;)

I am sure your interest will raise upon the zero dupe release :D

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

 


  • Related topics
    Replies
    Views
    Last post

Who is online

Users browsing this forum: No registered users and 4 guests