掌上电脑

查看完整版本: 已解决 问题后,百度推广的整合更新



Guni
28-04-11, 13:09
嗨,更新自述文件中的所有设置后,主题不再是 forumhome、 侧边栏和 forumdisplay 可访问。页面仍然白和中地址栏看起来像这样的链接: 从侧边栏调用: http://www.kambodschaforum.com/news/334-kein-frieden-zwischen-thailand-und-kambodia-wegen-zeitungsartikel-post1027.html#post1027Aufruf 从 forumhome 的论坛列表: http://www.kambodschaforum.com/showthread.php?t=334&p=1027#post1027Die 是所做的更改会导致 vBSEO 集成第 2 部分


# (Required) SEO links translation integration - part 2

1. Download from server file FORUM_ROOT/vbseo/includes/functions_vbseo_url.php
2. Open it in any text editor and find:
$text = strtr($text, $trarr_table);
3. REPLACE it with this code:

if (false !== strpos($text, '[langtitle=')) {
$text = strtr($text, $GLOBALS['vbet_custom_char_replacement']);
if (vB_Template_Runtime::fetchStyleVar('charset') != 'utf-8') {
$text = preg_replace('/&#([0-9]+);/esiU', 'convert_int_to_utf8(\'\\1\')', $text);
}
} else {
$text = strtr($text, $trarr_table);
}

4. Find:
header ("Location: $fulluri");
5. PUT BEFORE it this code:

if (isset($_REQUEST['language'])) {
require_once(DIR. '/includes/vbenterprisetranslator_functions_url_tracking.php');
$fulluri = vbet_createURLForAddressNoReplace($_REQUEST['language'], $fulluri);
}

6. Save file and upload it to server, overwriting the old one.



VBSEO 版本: 3.6.0Vbulletin 版本: 4.1.3 谢谢你

kamilkurczak
28-04-11, 20:42
admincp> vBET>主要的设置呢?
你设置您的网址,搜索引擎优化和设置VBSEO_URI吗?有关您的。htaccess文件是什么?你可以放在这里的。htaccess文件的内容?

kamilkurczak
09-05-11, 08:19
没有答案 - 如果不解决,请写在这里,我会再次打开这个线程。

Automatic Translations (Powered by Google, Microsoft®, Yandex, SDL Language Cloud, IBM Watson and Apertium):
AfrikaansAlbanianArabicBelarusianBulgarianCatalanChineseCroatianCzechDanishDutchEnglishEstonianFilipinoFinnishFrenchGalicianGermanGreekHaitian CreoleHebrewHindiHungarianIcelandicIndonesianIrishItalianJapaneseKoreanLatvianLithuanianMacedonianMalayMalteseNorwegianPersianPolishPortugueseRomanianRussianSerbianSlovakSlovenianSpanishSwahiliSwedishTaiwaneseThaiTurkishUkrainianVietnameseWelshYiddish
Translations supported by vBET 4.10.1