ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

redirect template based on user language

October 24, 2011 3:01pm

Subscribe [1]
  • #1 / Oct 24, 2011 3:01pm

    Sean C. Smith

    3818 posts

    I’ve got site, I inherited from the previous developer, with an embedded template and a lot of conditionals based on user language.

    The client has now requested that the template not be viewable on the us site and I’m not sure how to proceed at this point.

    The only option I can think of is to do a meta refresh/direct based on the language choice, but there must be a better way.

    <meta http-equiv="refresh" content="2;url=http://domain.com/">

    Any advice would be greatly appreciated.

  • #2 / Oct 25, 2011 10:10am

    Sean C. Smith

    3818 posts

    Anyone?

  • #3 / Oct 27, 2011 1:37pm

    Lisa Wess

    20502 posts

    Are these actually separate MSM Sites, Sean?  Or even in different templates? Knowing the infrastructure would help a lot.

  • #4 / Oct 27, 2011 1:48pm

    Sean C. Smith

    3818 posts

    Lisa,

    I got it working yesterday after (re)discovering the {redirect=""} tag. Everything is groovy.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases