Optimise your phpbb page titles by removing, index page, view topic, and view forum titles

See revised post for a more improved fix – http://www.corporate-computers.co.uk/2010/09/improve-your-phpbb-page-titles-by-ordering-the-title-by-the-active-page-topic-name-forum-name-then-site-name/

——————————————————————————————-

To help optimise your phpbb forum titles throughout  your forum site and Google you should think about making  the following changes. This will remove the “index page” title that ends or starts at the begging of your phpbb forum site. It will also make the topic or forum titles show first before the site title.

This tweak requires you to have a re-write mod installed. The best MOD out there by far is the one by http://www.php-seo.com called Ultimate SEO URL

Edit – index.php

Find:-

page_header($config[‘sitename’]);

Replace with:–

page_header($user->lang[”]);

Edit – viewforum.php

Find:-

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

Replace with:–

page_header($forum_data[‘forum_name’]);

Edit:– viewtopic.php

Find:-

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

Replace with:–

page_header($topic_data[‘topic_title’]);

Edit –  theme overall_header.html

Find:-

<title>{SITENAME} &bull; <!– IF S_IN_MCP –>{L_MCP} &bull; <!– ELSEIF S_IN_UCP –>{L_UCP} &bull; <!– ENDIF –>{PAGE_TITLE}</title>

Replace with:–

<title>{PAGE_TITLE} <!– IF S_IN_MCP –>{L_MCP} <!– ELSEIF S_IN_UCP –>{L_UCP} <!– ENDIF –>{SITENAME}</title>

Leave a Reply