Welcome Guest, Not a member yet? Register   Sign In
404 Page routing with i18n
#1

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.
Reply
#2

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

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

Any idea?
Reply




Theme © iAndrew 2016 - Forum software by © MyBB