Publisher does not support the Fluid field type. Please do not contact asking when support will be available.

If you purchased an add-on from expressionengine.com, be sure to visit boldminded.com/claim to add the license to your account here on boldminded.com.

Ticket: {translated_url} outputs url of previous page

Status Resolved
Add-on / Version Publisher 2.6.3
Severity
EE Version 3.5.10

Mohammed Al-Faisal

Oct 19, 2017

Hi Brian,
It’s me again : )

I’m having the same issue as https://boldminded.com/support/ticket/1464

{exp:publisher:languages}
     <link rel="alternate" hreflang="{short_name}" href="{translated_url}">
{/exp:publisher:languages}

outputs the translated url of the previous visited page. I get around this in language switching by using {switch_language_url} instead, however, when trying to generate

in the page head I’m forced to use {translated_url}. I set cache to no in Publisher configuration but still get this issue.

This happens on two separate instances of my project one on my local machine and another a development server, each is maintained separately.

#1

BoldMinded (Brian)

I’ll try to take a look at this sometime next week. Thanks for the report.

#2

BoldMinded (Brian)

Mohammed, I’m not able to replicate this issue either. The language switching in the upper right corner of the demo site is using translated_url, and it appears to be working fine. If you can get the demo site to replicate the behavior your describing I can look into this further, but if I can’t replicate it I can’t debug anything.

#3

Mohammed Al-Faisal

Could it be a cache issue? I have cache set to ‘no’ in Publisher’s settings but it didn’t help. I’m just going to replace it with some php for now and hopefully it gets solved in the future.

Thanks.

#4

BoldMinded (Brian)

Do you have any other caching enabled on your site? Template cache, CE Cache, Mustache, etc?

Login to reply