i have a very urgent problem with page titles on a page that went live yesterday evening. I cannot figure out where this error comes from and hope for some suggestions from you guys…
I have a menu as a sidebar, some breadcrumbs and a page title on almost every page. When an Headline is set in the backend, the page title gets replaced by that. Furthermore i have the URL-Key method for setting the URL to the english version.
In the sidebar menu, only translated pages are visible by filtering them out with the Translations Plugin from flokosiol. In english this setting is set for the trends and the sustainability pages. But now they appear, which they shouldn’t:
Somehow the german titles and statusses are getting pulled and i don’t know where the error may be. So as you can see the german title is getting pulled, although the english one is set.
please post your code (all that is necessary to understand this, blueprints, template code etc). The result is not really useful for finding out where the error might be.
And i think since it has been working properly all the times, that the error is somewhere else. We have been changing some URL-Keys in the near past, maybe this makes some problems? But i can’t figure out where we changed anythin, that conflicts with that, since this is such a default functionality…
Default language is German. The screenshots were taken on the English page. The field is 1 for every page you see in the English menu. Except for Leistungen and Nachhaltigkeit. What bothers me more is that there are different titles set in English but they only show up at the Leistungen leaf of the menu…
I removed this plugin and tada: functionality same as before.
Maybe someone knows why this happened, therefore i give you a screenshot from the backend with the redirects (Old URL on the left, new one on the right):
I’d try without the lang code, the way the new page is called in the route doesn’t make sense with the language code, or rather, the route would have to work differently. Otherwise I’d do this via the .htaccess or ideally via the server config file.