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 Support and language folder, htaccess rewrite?

December 31, 2010 11:45am

Subscribe [3]
  • #1 / Dec 31, 2010 11:45am

    manimac

    8 posts

    hi all,
    i’ve just installed the Multi Language Support by Biber Ltd.
    It works very well but i have a simple request: hide the default language from url


    this extension create automatically a language subfolder and that’s nice but my domain ends with .it and the default language is italian.
    so i’d like to “hide” just the /it/ folder from my url.

    actually, my default url language (italian) is “http://beta.domain.it/it/sample/page
    i’d like to have something like this: “http://beta.domain.it/sample/page

    for other languages it’s ok for me to have “http://beta.domain.it/en/sample
    or “http://beta.domain.it/es/sample

    how can i do it? with .htaccess?
    actually, my .htaccess inside the /it/ folder is like this:

    RewriteEngine on
    RewriteBase /
    RewriteCond $1 !^(images|system|themes|index\.php|admin\.php) [NC]
    RewriteRule ^(.*)$ /it/index.php/$1 [L]

    please let me know if somebody can help me, thanks a lot!
    ..and happy new year! 😊

  • #2 / Jan 05, 2011 8:16am

    e-man

    1816 posts

    There’s a dedicated forum over at Devot-ee for this add-on, the developer is answering questions there:
    http://devot-ee.com/add-ons/support/multi-language-support/viewforum/341/

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

ExpressionEngine News!

#eecms, #events, #releases