Another multi-lang question
Hopefully last one...
I have my 404 page set up as normal but I need to set up a different 404 page for the different sites. Any way to do this w/ this setup http://buildwithstructure.com/documentation/multi-language_sites/?
Support Staff 2 Posted by Travis Schmeisser on 03 Jul, 2012 08:48 PM
I think you would have to do conditionals against the first segments that contain the language code, like "fr" or "en"
3 Posted by amanda on 04 Jul, 2012 02:24 AM
sorry, not sure I follow... should I leave my 404 settings as is in EE? I have Enable Strict URLs set to "No" and specified a template for my 404 page. Should I leave that as is and are you suggesting do something like this in the templates?
{if no_results} {if segment_1 == "fr"} {redirect="fr/404"} {if:else} {redirect="us/404"} {/if} {/if}
Support Staff 4 Posted by Travis Schmeisser on 04 Jul, 2012 04:19 AM
Yes. You could also just display different content instead of redirecting.