Search code examples
typo3typo3-7.6.xrealurl

realURL: Cleanup path-cache and url-cache


I have some problems with realURL Cache. For example:

The URL to the "home"-page is /the-shoe/home. Translated to switzerland (german) the url is: /ch/der-schuh/home. The problem here is that the URL /ch/the-shoe/home also works.

My idea was, that this is a cache problem. Because the page got translated and the page got called before the title of the page got translated

So I tried to clean the cache with the backend-module "Speaking URLs". I Flush all entries in the URL Cache and deleted the paths für this page and language in the Path Cache.

But this did not change anything. I can still call /ch/der-schuh/home and /ch/the-shoe/home and both works. After calling both URLs I can also see them again in the URL Cache (but not in the Path Cache): enter image description here

So why is this a problem

  • I do not want 2 URLs lead to the same content
  • Sometimes <f:link_page> and co. creates a Link with the "wrong" URL (not the translated one).
  • When I am logged in in the backend the "wrong" URL will not work!

Now my question is, where is this problem coming from? How can I solve it? It looks like just clearing the cache does not solve the problem.

ANy ideas?


Solution

  • The issue is halffixed in realURL v2.0.14.

    Best fix for now is to disable cache for realURL.