Warning: Expiry date cannot have a year greater then 9999 in /home/kilandor/seditioforge.com/system/common.php on line 244
This short hack will make sure the subtitles for your sites always come first and will give you very needed search engine optimization points over your competition... - SEO Upgrading Your Seditio Titles - Seditio Forge
This short hack will make sure the subtitles for your sites always come first and will give you very needed search engine optimization points over your competition...
Author: Lombi
Submitted by: Lombi
Date: 2007-08-31 15:35
Comments: (0)
Ratings:
 

No comments yet
This short hack will make sure the subtitles for your sites always come first and will give you very needed search engine optimization points over your competition...

To start open system/header.php and find the following lines:

Code:
$out['fulltitle'] = $cfg['maintitle'];
$out['subtitle'] = (empty($out['subtitle'])) ? $cfg['subtitle'] : $out['subtitle'];
$out['fulltitle'] .= (empty($out['subtitle'])) ? '' : ' - '.$out['subtitle'];


Replace with:

Code:
$out['subtitle'] = (empty($out['subtitle'])) ? $cfg['subtitle'] : $out['subtitle'];
$out['fulltitle'] .= $out['subtitle'].' - ' .$cfg['maintitle'];


Now you can also change the separator for the subtitle and the title, like this:

Code:
$out['subtitle'] = (empty($out['subtitle'])) ? $cfg['subtitle'] : $out['subtitle'];
$out['fulltitle'] .= $out['subtitle'].' | ' .$cfg['maintitle'];


All done. Want to also optimize the forums? Alrighty :)

Open up system/core/forums/forums.posts.inc.php, find:

Code:
$out['subtitle'] = $L['Forums']." - ".$fs_title;


Change to:

Code:
$out['subtitle'] = $fs_title." | ".$L['Forums'];


Open up system/core/forums/forums.posts.inc.php, find:

Code:
$out['subtitle'] = $L['Forums']." - ".sed_cc($ft_title);


And change to:

Code:
$out['subtitle'] = sed_cc($ft_title)." | ".$L['Forums'];


And now we're really all done :)
Copyright © 2008 Domain.Com. All Rights Reserved.
Page created in 0.058 seconds