查看完整版本: 已解决 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的','',$地址);
}
请尽快答复。
行 - 您发现此代码是一个。我给你还没有发布的版本的代码。但不使用它 - 因为这个问题是另一回事,你在首位描述。
关于真正的问题。第一 - 确保它不是做一些百度推广设置(如自定义改写或东西)。
当你一定会,这是不是百度推广,然后请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.