»Forumlar »SE ? Support »Title de bir kac ayar
  https://seditio.com.tr/eski1/forums.php?m=posts&q=435
          Geri Dön      -      Sayfayı Yazdırmak için tıklayın
Author: Cochineal, Posted: 2010-03-20 00:35 GMT.
Merhaba

Sitemde title su sekilde calismakta "Site adi - Konu - Mesaj" ben bunu su sekilde istiyorum

"Mesaj - Konu - Site adi"

Bu sitede oldugu gibi bunu nasil yapabilirim tesekk?rler

not: sanirim bir ara seo eklentisi vardi onunla yapiliyordu bu tarz bir kac ayar yapiyordu ?yle bir sey varmi seo d?zenlemesi yapan bir eklenti?
Author: Kaan, Posted: 2010-03-20 10:58 GMT.
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:

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


Replace with:
Kod:
$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:

Kod:
$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:
Kod:
$out['subtitle'] = $L['Forums']." - ".$fs_title;

Change to:
Kod:
$out['subtitle'] = $fs_title." | ".$L['Forums'];

Open up system/core/forums/forums.posts.inc.php, find:
Kod:
$out['subtitle'] = $L['Forums']." - ".sed_cc($ft_title);

And change to:
Kod:
$out['subtitle'] = sed_cc($ft_title)." | ".$L['Forums'];


And now we're really all done
Author: Azerbaycan, Posted: 2010-03-23 00:38 GMT.
kaan englishe mi gectin

bence normali daha guzel

google da da arama yapinca ilk site adi cikiyor..sora konu...slogan falan...site ismi dikkaeti cekiyor reklam oluyor yani
Author: Cochineal, Posted: 2010-03-31 00:37 GMT.
seo acisindan sanki bu daha iyi ama sanirim?
Author: Kaan, Posted: 2010-04-04 19:57 GMT.
Elbetteki bu daha iyi sirek konuyu okutuyorsun site konu ba?l?k seo a??s?ndan pek faydal? olmaz dikkat edin b?t?n forumlarda ?nce konu katagori site ?eklindedir.
Author: TheRaskol, Posted: 2010-04-13 14:27 GMT.
Bu sadece forumlar i?in san?r?m.
Peki sayfalar i?in?
Author: Kaan, Posted: 2010-04-13 20:21 GMT.
Biraz kurcalarsan yapabilirsin yukar?daki ?rneklere bakarak Pagenin title b?l?m?nde ?ok ufak bir de?i?iklik yapman yeterli oluyor..
Author: TheRaskol, Posted: 2010-04-13 22:31 GMT.
sed_cc ile bu b?l?m nas?l de?i?tirilecek acaba?

Kod:
$out['subtitle'] = sed_cc($ft_title)." | ".$L['Forums'];
Author: Kaan, Posted: 2010-04-14 00:17 GMT.
system/core/page/page.inc.php yi a? Seninkini alttaki ile de?i?tir.

Kod:
$catpath = sed_build_catpath($pag['page_cat'], "<a href=\"list.php?c=%1\$s\">%2\$s</a>");
$pag['page_fulltitle'] = $catpath." ".$cfg['separator']." <a href=\"".$pag['page_pageurl']."\">".$pag['page_title']."</a>";
Author: TheRaskol, Posted: 2010-04-14 00:42 GMT.
Dedi?ini yapt?m fakat facebookta payla? derken ba?l??? bu ?ekilde ayarl?yor;
Ultima Online Sphere ve RunUO Bilgi Platformu - UO-Developer.COM

Ama forumlarda topic ba?l??? ?eklinde payla??yor

Powered by SeditioPrint version