Inti jistgħu sempliċiment jintegraw vBET ma vBSEO Sitemap Generator (huwa ħieles) li tinkludi links għal paġni tradotti u cms fis sitemap iġġenerat.
Jekk kellek fajls tiegħek diġà editjati, jekk jogħġbok ittella verżjoni oriġinali
Jekk jogħġbok innota li l-istruzzjonijiet hawn taħt inti se tippermetti li żżid fis-rabtiet sitemap tiegħek għall-ħjut paġni tradotti. Minħabba raġuni prestazzjoni dawk ir-rabtiet ma jkunux tradotti - se jkun hemm kodiċi tal-lingwa biss miżjud. Google se ssib il-paġna reali xorta waħda peress li inti se tikseb 301 direzzjoni ġdida. Jekk jogħġbok innota li mhuwiex aħjar approċċ - Google tippreferi li rabtiet finali Mappa tas-sit ma indirizzar mill-ġdid wieħed, iżda traduzzjoni furzar ta 'links eluf fil-lingwi kollha fl-istess ħin jista' joqtol server tiegħek jew ikunu threated mill-Google bħala attakk (jekk ir-rabtiet ma jkunux Cached s'issa).
Fl-ewwel inti għandek issib fajl vbseo_sitemap_functions_vbseo.php tiegħek
għerq Forum -> vbseo_sitemap -> vbseo_sitemap_functions_vbseo.php
Miftuħa u tbiddilha ma 'kwalunkwe programm test editjar
Fuq l-bidu nett ssib din il-linja:
PHP Code:
global $vbulletin, $vbseo_vars, $vbseo_stat, $vboptions, $db, $forumcache, $bbuserinfo;
U mqiegħda wara dan, dan:
PHP Code:
require_once(DIR. '/includes/vbenterprisetranslator_functions_vbseo.php'); $alanguages = array ('af','sq','ar','be','bg','ca','zh-CN','hr','cs','da','nl','pl','et','tl','fi','fr','gl','de','el', 'en','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');
NOTA: Neħħi KODIĊI TAL-LINGWA TIEGĦEK NUQQAS minn $ alanguages
Ukoll jekk inti b'diżabilità xi lingwi fil-pannell tal-għażla trid tħassar kodiċi tagħha wisq.
U ssib din il-linja:
PHP Code:
vbseo_log_entry("[showthread] forum_id: $forumid, thread_id: $threadrow[threadid], total posts: $totalposts, pages: $totalpages, views: $threadrow[views] $prior");
għall-integrazzjoni ħjut tradotti
u jekk inti qed tuża SEO jiġifieri konnessjonijiet mressqa wara li:
PHP Code:
if(!$archived) { $strlenhost = strlen($vbseo_vars['bburl']."/");
$currenturl = vbseo_url_thread($threadrow, 1, $archived);
$currenturl_before = substr($currenturl,0,$strlenhost);
$currenturl_after = "/".substr($currenturl,$strlenhost);
$lastpost =& $threadrow['lastpost'];
global $alanguages;
foreach($alanguages as $language) {
vbseo_add_url($currenturl_before.$language.$currenturl_after, $prior, $lastpost, $freq); } }
jew fil-każ li inti MHUX bl-użu SEO rabtiet jiġifieri :
PHP Code:
if(!$archived) {
global $alanguages;
$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);
}
}
Tużax it-tnejn!
**** Din il-parti ta 'soluzzjoni hija biss għal vBulletin Pubblikazzjoni Suite utenti ****
Imbagħad, inti għandek issib dawn iż-żewġ linji
PHP Code:
$prior = vbseo_sm_priority($vboptions['vbseo_sm_priority_cmssec'], $relp2);
PHP Code:
$prior = vbseo_sm_priority($vboptions['vbseo_sm_priority_cmsent'], $relp2);
u jekk inti qed tuża SEO jiġifieri konnessjonijiet mressqa wara tnejn minnhom:
PHP Code:
global $alanguages;
$strlenhost = strlen($vbseo_vars['bburl']."/");
$currenturl = vbseo_url_cms($drow);
$currenturl_before = substr($currenturl,0,$strlenhost);
$currenturl_after = "/".substr($currenturl,$strlenhost);
foreach($alanguages as $language) { $added_urls += vbseo_add_url($currenturl_before.$language.$currenturl_after, $prior, $drow['lastupdated'], $vboptions['vbseo_sm_freq_cms']); }
jew fil-każ li inti MHUX bl-użu SEO rabtiet jiġifieri post wara kull wieħed minnhom:
PHP Code:
global $alanguages;
$strlenhost = strlen($vbseo_vars['bburl']."/");
$currentthreadurl = vbseo_url_cms($drow) . '?language=';
foreach($alanguages as $language) {
$added_urls += vbseo_add_url($currentthreadurl.$language, $prior, $drow['lastupdated'], $vboptions['vbseo_sm_freq_cms']); }
Tużax it-tnejn (bi u mingħajr seo link)!
Tmiem editjar u jgawdu minnha!
Nawguralek!