Welcome Guest, Not a member yet? Register   Sign In
no segment, how redirect 404 ?
#1
Brick 

Hi everyone,

I searched my answers on this forum and google, but no success. 
I have a simply route like : customer/card/1 but if i try it with a wrong id like : customer/card/19999999 i have php error. So i would like to redirect to 404 page if ID doesn't exist but how can I do it ?

Thanks a lot for your answer and your help.
Reply


Messages In This Thread
no segment, how redirect 404 ? - by stat - 02-02-2016, 07:02 AM
RE: no segment, how redirect 404 ? - by stat - 02-03-2016, 12:17 AM
RE: no segment, how redirect 404 ? - by Diederik - 02-03-2016, 07:16 AM



Theme © iAndrew 2016 - Forum software by © MyBB