This site has been archived and you can no longer log in or post new messages. For up-to-date community resources please visit

eZ Community » Forums » eZ Publish 5 Platform » Bad URL generated for untranslated...

Bad URL generated for untranslated content

Bad URL generated for untranslated content

Tuesday 04 November 2014 10:28:37 am

Hi all,

I'm having trouble to have URLs to change siteaccess when viewing an untranslated content, with "always available" flag checked. The scenario is as follows:

- 4 siteaccess, every one with one language set in "languages" array. (eng-GB, fre-FR, esl-ES, cat-ES)
- Viewing contentobject with only one translation created (esl-ES), but marked as "Use the main language if there is no prioritized translation."
- Siteaccess matcher set by URI map. (en/, fr/, es/, cat/)

Viewing content on en/ siteaccess, when generating URL for siteaccess switching, I get:

- /en/en/content/location/2
- /fr/en/content/location/2
- /es/
- /ca/en/content/location/2

I can understand that /content/location should be used as no translation is available (perhaps main translation should be used?) but notice current siteaccess is always set on urls for unavailable languages, thus generating broken urls.

Any idea how to solve this?

No reply yet!


You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu

Proudly Developed with from