php - Codeigniter 404_override not working in routes -
I try almost everything to fix my problem, but I can not
This is the file in my paths CodeIgniter
$ route ['default_controller'] = "main"; $ Route ['404_override'] = 'my_error_page'; $ Route ['(: any)'] = 'page / index / $ 1 /';
My website works well in general but does not redirect to my_error_page 404. On top, I see the standart codeigniter 404 page as an image
When I delete the previous row as follows;
$ route ['default_controller'] = "main"; $ Route ['404_override'] = 'my_error_page';
404_updirect redirect to my error page and of course the web site is not running properly.
This is probably a simple problem but I am confused.
sorry bad english please help Thank you.
Comments
Post a Comment