I’ve been working on a new version of a website I currenly have up and running (and has been for a few years now) but this is running old software that seems to have been falling apart.

Anyhow, I am now in the process of upgrading to the new version of PHPBB3.x, and I’m trying to get the look and feel spot on, and one of the problems I had with the out of the box package of PHPBB3 is the way META Titles are displayed.

In my opinion, all page titles on bullitin boards should begin with [Topic Title] | [Site Name] but for some strange reason PHPBB does [Site Name] Viewtopic/Viewforum [Topic Title].

Now I feel when people search sites like Google, they will type in exactly what they want to find, and the more info you can get into the title, the better, so removing Viewtopic/Viewforum will give you that extra bit of space, plus putting the topic title first, means there is less chance of search engines cutting the title short (may chop your website name off short though, but this doesn’t matter too much)

To do the above, follow these steps:

To remove Viewforum

Open viewforum.php

Find

  1. page_header($user->lang[‘VIEW_FORUM’] . ‘ – ‘ . $forum_data[‘forum_name’], true, $forum_id);

Replace

  1.  
  2. page_header($forum_data[‘forum_name’], true, $forum_id);

to remove view topic:

Open viewtopic.php

Find

  1. page_header($user->lang[‘VIEW_TOPIC’] . ‘ – ‘ . $topic_data[‘topic_title’], true, $forum_id);

Replace

  1. page_header($topic_data[‘topic_title’], true, $forum_id);

Related posts:

  1. PHPBB3 Advertisement Management AD Stlye