
作者:
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 中時,將關閉