![Quote](images/misc/quote_icon.png)
Originally Posted by
moman
Go to
PentaxForums.com - Pentax Photography Forum and click on
Obiektyw Pentax Specyfikacja i weryfikacja danych (it's in the 4th category). You will get a 404.
However, this same link is in the navbar (first entry under the 'Reviews' button) and you do NOT get a 404.
Thanks for your help. I still think we're not on the same page as far as what exactly the problem is, so feel free to let me know if you need further explanation. One more time, though, the problem is that
mysite.com / lensreviews / is rewritten to mysite.com / forums / pl / lensreviews when it goes through a forum link.
I put spaces so that the URL isn't parsed.
Now I see it. Those 2 links which you are writing about are not same. One is exact - 2nd have redirections and the issue is right here.
This with redirections goes by:
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/
So here vBET is adding language because you start as link to forum and you have translation tracking on. Then you made 2 redirections and each time vBET is adding translation tracking.
Quick fix for you below (not tested - so made copy of file and let us know does it work). Also - you should reconfigure your forum to go where you want in first redirection if it is possible.
Quick fix. Open file vbenterprisetranslator_seo.php, find line:
Code:
if (isset($_COOKIE['vbet_language']) && !isset($_GET['language']) && false === strpos($_SERVER['REQUEST_URI'],'external.php')) {
and replace it by:
Code:
if (isset($_COOKIE['vbet_language']) && !isset($_GET['language']) && false === strpos($_SERVER['REQUEST_URI'],'external.php') && false === strpos($_SERVER['REQUEST_URI'],'lensreviews/index.php')) {
Also we will look for some better solution included in vBET. At this moment vBET is only checking original URL - we didn't thought about such situation as yours. I reopen this issue. Will be closed when official solution will be included in vBET