SEO-Board: Free, Fast and Search Engine Optimization Friendly Forum Script
»User: »Password:   Remember Me? 
Posted:  12 Apr 2006 22:42
Hi,

Person A creates a posting called, "testing123."
The title tag in the browser reads as just that, "testing123."

How do I fix that so the title tag for each posting includes my domain name of Raz-Sports.com? So it would read as:

Sports Forums: Testing123 at Raz-Sports.com

Thanks
__________________
Posted:  13 Apr 2006 17:30
In vtopic.php you can modify the $title variable below this line:
Code:

list($title, $f, $num_replies, $t_sticky, $t_locked, $t_moved) = mysql_fetch_row($result);

for example, you can add
Code:

$title .= ' at Raz-Sports.com';

__________________
Are you looking for an SEO Consultant?
Email me: hristo at seo-board dot com
Posted:  13 Apr 2006 18:57
Thanks
__________________
Posted:  09 Jun 2006 12:09
Lines 34-42 in vtopic.php

Code:

// #BRAND#
$title_temp = $title;
//generate forum_path & validate $f (forum_id) 
$forum_path = get_forum_path($f, $title);
// #BRAND#
$title_brand = 'Your Brand/Copyright/Slogan/Site';
$title_separator = ' &raquo ';
//$title = $title_brand . $title_separator . $title_temp;
$title = $forumtitle . $title_separator . $title_temp;


I personally do not like the idea of adding your brand to the end.  Not to mention it gets added in the title *and* the "forum path" post title area. 

The code above is what I use to allow a nice looking brand at the beginning.

The default shows it exactly how SEO-Board currently shows forum title > parent, forum title > child et cetera.

Uncomment/comment where appropriate to customize.