CodeIgniter Forums
HMVC, i18n, routing problem - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23)
+--- Thread: HMVC, i18n, routing problem (/showthread.php?tid=49971)



HMVC, i18n, routing problem - El Forum - 03-09-2012

[eluser]zvir[/eluser]
hi all,

i'm building some kind of CMS and i'm using wiredesignez HMVC plugin and this i18n plugin for multilanguage sites.

the problem is at routing.

i have module called "news" and method "page" in it and route is set as

Code:
$route['page/test'] = 'news/page/1';

this works without problem when i go to
Code:
http://localhost/site/page/test

problems begin when i start using i18n localization plugin. then it only works with this url:
Code:
http://localhost/site/en/news/page/test

and i don't want that "news" segment in my url...

how to remove it, what to do??