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.

Multi Language Sites - English to Spanish

September 16, 2011 3:31am

Subscribe [2]
  • #1 / Sep 16, 2011 3:31am

    coder.css

    1 posts

    Hello All,
    I will be using Multiple Site Manager to develop a website that can be view in both English and Spanish. My intent is to have a button the allow navigators to click Spanish when on the English site, which would direct them to the Spanish site and vice versa.

    My English site will rest on: http://www.mydomain.com
    My Spanish site will rest on: http://www.mydomain.com/es/

    My English site URLs will all be written in English, while my Spanish site will be written in Spanish. What I want to do is find a way to match the URLs, so when someone clicks to view a given page in English or Spanish they are redirected accordingly.

    For example, I want to redirect
    http://www.mydomain.com/contact

    to
     
    http://www.mydomain.com/es/contacto

    Any thoughts, is this something I can do within in my htaccess?

    Thanks in advance!

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

ExpressionEngine News!

#eecms, #events, #releases