Hi ,
I am a new in using codeigniter.I want to use a single show_404 page for both admin and user side.But in different way.i.e.if user try to change anything in URL he should be redirected to custom 404 page.this is not required in admin side.So how to differentiate between user and admin?

Please, Can anyone help me ?

Although I haven't bothered making custom 404 pages in the past, I would suggest placing the admin section in a separate directory with is own .htaccess rules for 404 error reporting while all other directories have a different .htaccess file pointing to the custom 404 error page. I've read things like that around the web so try a google search and see what pops up.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.