CodeIgniter Forums
404 Page routing with i18n - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: External Resources (https://forum.codeigniter.com/forum-7.html)
+--- Forum: Addins (https://forum.codeigniter.com/forum-13.html)
+--- Thread: 404 Page routing with i18n (/thread-570.html)



404 Page routing with i18n - tkaratug - 12-21-2014

Hi,

I am using i18n for multi language with hmvc together. I am trying to create new 404 page that work for each languages.

I created a new controller name 'my404' and made this changes on route.php

PHP Code:
$route['404_override'] = 'my404'

It doesn't work. Can you help me about that ? How can i create new 404 page for each languages?

Thanks.


RE: 404 Page routing with i18n - Avenirer - 12-22-2014

Did you name the class My404 and the file My404.php and it doesn't work?


RE: 404 Page routing with i18n - tkaratug - 12-23-2014

Yes. But i am using hmvc also and created 2 modules as 'admin' and 'frontend'. So is that correct 404 route in the file?


RE: 404 Page routing with i18n - tkaratug - 12-29-2014

Any idea?