I'm adding multilanguage options for a website in CodeIgniter.
I'm using this library
https://github.com/bcit-ci/CodeIgniter/wiki/CodeIgniter-2.1-internationalization-i18n
The only problem i'm having is if y access www.domain.com The redirect goes to www.domain.com/es/welcome/index
$route['default_controller'] = "welcome/index";
$route['^(es|en)'] = "welcome/index";
$route['^(es|en)/(.+)$'] = "welcome/$2";
I don't know how to only redirect to www.domain.com/es or www.domain.com/en when entering www.domain.com
Is that possible with this library?