Important: This page is using cookies (cookies). Using this website without turning off cookies in browser, means that you agree for using it.
Buy Now! Features Downloads

Earn with us!

If you would like to start earning money with vBET join to Affiliate Program.
Results 1 to 5 of 5

Thread: Guest cache not redirecting default URL's properly

  1. #1
    Senior Member
    Join Date
    Dec 2009
    Posts
    276

    Default Guest cache not redirecting default URL's properly

    I noticed a serious problem with URL redirection when the guest cache is enabled. The translated URL's are not redirected properly.

    Here is how to reproduce:

    1. Enable guest cache
    2. log out of your site
    3. go to a default URL, for example: http://www.vbenterprisetranslator.co...ted-pages.html
    4. Click on a translated URL, for example: http://www.vbenterprisetranslator.co...ladzijden.html
    5. Click back on the default URL
    6. The result will be something like http://www.vbenterprisetranslator.co...ladzijden.html
      when it should be http://www.vbenterprisetranslator.co...ted-pages.html


    This behavior will not happen when guest cache is turned off. This is creating a whole lot of duplicate URL's for default pages.
    Last edited by tavenger5; 24-05-11 at 14:00.

  2. #2
    vBulletin Enterprise Translator (vBET) Staff
    Join Date
    May 2010
    Posts
    1,000

    Default

    Hello,
    We can reproduce it on our test forum too. We will fix it.
    Thanks for your request.

  3. #3
    MichaƂ Podbielski (vBET Staff) vBET's Avatar
    Join Date
    Oct 2009
    Posts
    3,037

    Default

    I have quick fix for it. I still want to check some things, so it is possible that I will add some additional steps here, but fix below makes you safe against duplicated content.

    Quick fix:
    1. Edit /includes/vbenterprisetranslator_functions_hooks.php
    2. Find:
    Code:
    if ($threadrow && strpos($_SERVER['VBSEO_URI'], $threadurl)!= 0) {
    3. Replace to:
    Code:
    if (strpos($_SERVER['VBSEO_URI'], $threadurl) !== 0) {
    Please confirm it solved the issue.

  4. #4
    Senior Member
    Join Date
    Dec 2009
    Posts
    276

    Default

    That fixed it, thanks!

  5. #5
    vBulletin Enterprise Translator (vBET) Staff
    Join Date
    May 2010
    Posts
    1,000

    Default

    thanks for your confirmation - solved

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •