Question : custom 404 page codeigniter 4
Answered by : portapipe
$routes->set404Override(function(){ return view('your_filename');
});
Source : https://stackoverflow.com/questions/61525214/how-to-custom-404-page-not-found-in-codeigniter-4 | Last Update : Sun, 27 Jun 21
Question : 404 page not found codeigniter
Answered by : vasanth-kumar
#Ubuntu 18.04
1.Add this in 000-default.conf or sitename.conf inside /etc/apache2/sites-enabled/ <Directory /var/www/html> Options Indexes FollowSymLinks AllowOverride All Require all granted </Directory>
2. And restart (sudo service apache2 restart)
Source : https://stackoverflow.com/questions/18740419/how-to-set-allowoverride-all | Last Update : Mon, 08 Mar 21
Question : CodeIgniter 404 function
Answered by : joynal-abedin-xc9fbppd3fxc
#I use this function to manually enforce a 404:
return show_404();
Source : | Last Update : Wed, 17 Aug 22