![Quote](images/misc/quote_icon.png)
作者:
moman
现在我看到它。您正在编写的这2个环节是不一样的。一个是准确的 - 第二有重定向的问题是在这里。
这正好与重定向:
Code:
Original:
http://www.pentaxforums.com/forums/pl/forumdisplay.php?f=35
Then some redirection (not vBET - probably vBSEO or .htaccess):
http://www.pentaxforums.com/forums/pentax-lens-review-specification-database/
And next one is by vBET (added language):
http://www.pentaxforums.com/forums/pl/pentax-lens-review-specification-database/
Then we have next redirection (not vBET - probably vBSEO or .htaccess):
http://www.pentaxforums.com/lensreviews/index.php
And one more time vBET is adding language:
http://www.pentaxforums.com/forums/pl/lensreviews/
所以在这里vBET是加入的语言,因为你开始链接到论坛和翻译跟踪。然后你2重定向和每次vBET加入翻译跟踪。
快速为您解决如下(未经测试 - 如此作出的文件的副本,并让我们知道它的工作原理)。 - 你应该重新配置您的论坛去的地方,你希望在第一重定向如果有可能。
速战速决。打开文件vbenterprisetranslator_seo.php,找到一行:
Code:
if (isset($_COOKIE['vbet_language']) && !isset($_GET['language']) && false === strpos($_SERVER['REQUEST_URI'],'external.php')) {
和替换它:
Code:
if (isset($_COOKIE['vbet_language']) && !isset($_GET['language']) && false === strpos($_SERVER['REQUEST_URI'],'external.php') && false === strpos($_SERVER['REQUEST_URI'],'lensreviews/index.php')) {
我们还会寻找 VBET中包含的更好的解决方案。 在这个时刻, VBET 只检查原始 URL - 我们没有想过你的情况。 我重开这个问题 当正式解决方案将包含在 vBET 中时,将关闭