查看完整版本: 已解決 感謝 vbet但我發現一些奇怪的問題與 cmps_index頁
symbianist
15-06-10, 14:28
感謝 vbet但我發現一些奇怪的問題與 cmps_index頁。
我有我的cmps_index.php PAG更名為 bindex.php。但是,當我試圖按一下trnalstor例如阿拉伯語,它正呈現出像切鏈接
www.mywebsite.com / AR / B
這大概是要被
www.mywebsite.com / AR / bindex.php
它是相同的所有翻譯。我應該怎麼做來解決這個錯誤。感謝提前。
vBET削減的index.php從 URL - 這就是為什麼你有這樣的問題。為了速戰速決,請:
1。編輯文件/包括/ vbenterprisetranslator_functions_url.php
2。查找:
if (false !== strpos($address, 'index.php') && false === strpos($address, '/archive/')) {
$address = str_replace('index.php','',$address);
}
2。改為:
if (false !== strpos($address, '/index.php') && false === strpos($address, '/archive/')) {
$address = str_replace('/index.php','/',$address);
}
請確認它的幫助。我們將它列入下一版所以你要冷靜一下在更新:)
symbianist
16-06-10, 10:25
,我錯了。它是原始的index.php改名為 bindex.php和我cmps_index.php是index.php的。
我的翻譯在index.php(原cmps_index.php)似乎工作正常,但bindex.php(原來的index.php)不工作。
我不能找到這個代碼在/包括/ vbenterprisetranslator_functions_url.php
如果(假的!== strpos($地址,'的index.php')&&假=== strpos($地址,'/存檔 /')){
$地址= str_replace('index.php的','',$地址);
}
這是我在/包括/ vbenterprisetranslator_functions_url.php
如果($指數 = strpos($地址,'的index.php')){
$地址= str_replace('index.php的','',$地址);
}
請盡快答复。
OK - 這個代碼,你找到的一個。我給你的代碼從版本還沒有發布。但不要使用它 - 因為這個問題是另一回事,你描述的首位。
關於真正的問題。首先 - 確保它沒有這樣做一些百度推廣設置(如自定義改寫或東西)。
當你一定會認為這不是百度推廣,那麼請 PM您的論壇的網址和訪問細節管理CP,百度推廣 CP和FTP - 我們必須檢查它在地方。
沒有確認 - 關閉問題。在情況下,如果它仍然處於活動狀態,請在這裡回應,它將會重開。
Automatic Translations (Powered by Google, Microsoft®,
Yandex, SDL Language Cloud, IBM Watson and Apertium):
Powered by vBulletin® Version 4.2.5 Copyright © 2025 vBulletin Solutions Inc. All rights reserved.