Unaweza tu kuunganisha vBET na
vBSEO Sitemap Generator (
ni bure) Kwa pamoja na viungo kwa kurasa kutafsiriwa katika Sitemap generated.
Tafadhali kumbuka kuwa maelekezo chini itawawezesha kuongeza katika viungo yako Sitemap kwa nyuzi kutafsiriwa kurasa. Kwa sababu ya sababu ya utendaji viungo wale si kutafsiriwa - kutakuwa tu aliongeza lugha code. Google utapata ukurasa halisi anyway tangu utapata 301 kuelekeza. Tafadhali kumbuka kwamba si njia bora ya Google - vyema kuwa na uhusiano wa mwisho katika Sitemap si imetuma moja, lakini tafsiri ya viungo na kulazimisha maelfu katika lugha zote kwa wakati huo huo kunaweza kuua server yako au threated by Google kama shambulio (kama viungo si cached bado).
Kama una ujuzi wa programu PHP unaweza kurekebisha maelekezo chini ya kusaidia pia maeneo mengine ya Sitemap - si tu threads URLs. Ufumbuzi wa chini ya kuongeza viungo kutafsiriwa tu kwa kurasa za kwanza ya nyuzi.
Integration maelekezo:
Wewe tu hariri faili moja:
vbseo_sitemap_functions.php katika
vbseo_sitemap directory.
Find:
PHP Code:
vbseo_log_entry("[showthread] forum_id: $forumid, thread_id: $threadrow[threadid], total posts: $totalposts, pages: $totalpages, views: $threadrow[views] $prior");
Na mahali baada ya...
Kwa SEO viungo
PHP Code:
//additional code
$alanguages = array ('af','sq','ar','be','bg','ca','zh-CN','hr','cs','da','nl','en','pl','et','tl','fi','fr','gl','de','el','iw','hi','hu','is','id','ga','it','ja','ko','lv','lt','mk','ms','mt','no','fa','pt','ro','ru','sr','sk','sl','es','sw','sv','zh-TW','th','tr','uk','vi','cy','yi');
if(!$archived) {
$strlenhost = strlen($vbseo_vars['bburl']."/");
$currentthreadurl = vbseo_url_thread($threadrow, 1, $archived);
$currentthreadurl_before = substr($currentthreadurl,0,$strlenhost);
$currentthreadurl_after = "/".substr($currentthreadurl,$strlenhost);
$lastpost =& $threadrow['lastpost'];
$vbseo_stat['t'] += sizeof($alanguages);
foreach($alanguages as $language) {
vbseo_add_url($currentthreadurl_before.$language.$currentthreadurl_after, $prior, $lastpost, $freq);
}
}
//end additional code
NOTE: Ondoa default YAKO LUGHA CODE kutoka
$ Alanguages
Pia kama baadhi ya lugha za walemavu katika jopo chaguo una kufuta namba yake pia.
Kwa uhusiano na lugha = (Usitumie kibanda - tu sahihi kwa aina yako viungo)
PHP Code:
//additional code
$alanguages = array ('af','sq','ar','be','bg','ca','zh-CN','hr','cs','da','nl','en','pl','et','tl','fi','fr','gl','de','el','iw','hi','hu','is','id','ga','it','ja','ko','lv','lt','mk','ms','mt','no','fa','pt','ro','ru','sr','sk','sl','es','sw','sv','zh-TW','th','tr','uk','vi','cy','yi');
if(!$archived) {
$currentthreadurl = vbseo_url_thread($threadrow, 1, $archived) . '&language=';
$vbseo_stat['t'] += sizeof($alanguages);
$lastpost =& $threadrow['lastpost'];
foreach($alanguages as $language) {
vbseo_add_url($currentthreadurl.$language, $prior, $lastpost, $freq);
}
}
//end additional code
NOTE: Ondoa default YAKO LUGHA CODE kutoka
$ Alanguages
Pia kama baadhi ya lugha za walemavu katika jopo chaguo una kufuta namba yake pia.
************************************************** ******************************
Hiari:
Kama unataka kuongeza Sitemap pia viungo kwa kurasa nyingine thread (kama thread na kurasa kadhaa), basi ziada code kutoka hatua ya mwisho kabla ya lazima aliongeza:
PHP Code:
$vbseo_stat[$archived?'at':'t'] += vbseo_add_2urls(
Pia katika kanuni hii ya ziada wewe kuwa na mabadiliko ya
1 kwa
$ P.