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: Switching Languages and Cookie Issue with Structure

Status Resolved
Add-on / Version Publisher
Severity Critical
EE Version 24

Matt Bulfair

Mar 22, 2013

I have a rather simple project. I am using structure to post news articles.

So domain.com/en/post-url-title

I also have a template group for my tag’s.

So domain.com/en/tag/tag-name

What’s happening is when I am on the non structure page (tags) and use the following dropdown code to switch between the languages, It re-loads the page to

domain.com/en/tag/

Erasing the tag it was on. Even though the drop down option values have the full URL. I am getting a 302 temp moved in chrome. Also if I delete the cookie that stores the language it works fine.

Otherwise everywhere else it works as expected.

#1

BoldMinded (Brian)

what happens if you use {alternate_url} instead of {switch_language_url}?

#2

BoldMinded (Brian)

Is /tag/ a template group?

#3

Matt Bulfair

Yes I have a template group named tag and a index.html

#4

BoldMinded (Brian)

This is fixed and new build delivered. Will be included in the 0.98.3 build next week.

Login to reply