Better 404 catching |
[eluser]duellsy[/eluser]
I'm not sure if there's a better way to do this, but by default the rout['404_override'] only gets triggered if the controller can't be found, it doesn't come into play if the controller exists but the method doesn't. I've written up a little article on how to catch this, and send the user to a 404 page if the controller exists but the method doesn't: http://www.subooa.com.au/blog/developmen...deigniter/ |
Messages In This Thread |
Better 404 catching - by El Forum - 02-16-2011, 07:36 PM
Better 404 catching - by El Forum - 02-16-2011, 08:12 PM
Better 404 catching - by El Forum - 02-16-2011, 11:41 PM
Better 404 catching - by El Forum - 02-16-2011, 11:48 PM
Better 404 catching - by El Forum - 02-17-2011, 04:33 AM
Better 404 catching - by El Forum - 02-17-2011, 10:43 AM
Better 404 catching - by El Forum - 02-17-2011, 08:41 PM
Better 404 catching - by El Forum - 02-17-2011, 09:36 PM
Better 404 catching - by El Forum - 02-18-2011, 05:35 AM
Better 404 catching - by El Forum - 02-18-2011, 06:56 AM
Better 404 catching - by El Forum - 02-19-2011, 03:47 AM
Better 404 catching - by El Forum - 02-20-2011, 01:08 AM
Better 404 catching - by El Forum - 02-20-2011, 02:00 AM
Better 404 catching - by El Forum - 02-20-2011, 02:10 AM
Better 404 catching - by El Forum - 02-21-2011, 04:23 PM
Better 404 catching - by El Forum - 02-21-2011, 06:19 PM
Better 404 catching - by El Forum - 02-21-2011, 07:09 PM
Better 404 catching - by El Forum - 02-22-2011, 03:20 AM
Better 404 catching - by El Forum - 02-22-2011, 04:38 AM
Better 404 catching - by El Forum - 02-22-2011, 11:05 AM
Better 404 catching - by El Forum - 02-24-2011, 04:48 PM
|