Home
Forums
Members
Search
Help
New topics
Todays topics
Website
Welcome Guest, Not a member yet?
Register
Sign In
Login
Username:
Password:
Remember me
Lost Password?
CodeIgniter Forums
Using CodeIgniter
Installation & Setup
Is it possible to establish a catchall controller method?
Share on Google
Share on Facebook
Share on Twitter
View a Printable Version
Subscribe to this thread
Add Poll to this thread
Send thread to a friend
Linear Mode
Threaded Mode
Is it possible to establish a catchall controller method?
Rufnex
Chuck Norris Mode - Former CI Council
Posts:
511
Threads:
7
Joined:
Oct 2014
Reputation:
35
#5
12-16-2014, 12:13 PM
Ok i had a quick reading depend on my time ^^. If you want caht urls that have no controller, you got an 404 error. In route.php you can route this to your wanted default controller
PHP Code:
$route
[
'404_override'
] =
'yourcontroller'
;
Is this what you want?
Reply
Messages In This Thread
Is it possible to establish a catchall controller method?
- by
sneakyimp
- 12-16-2014, 10:24 AM
RE: Is it possible to establish a catchall controller method?
- by
twpmarketing
- 12-16-2014, 11:01 AM
RE: Is it possible to establish a catchall controller method?
- by
Rufnex
- 12-16-2014, 11:10 AM
RE: Is it possible to establish a catchall controller method?
- by
sneakyimp
- 12-16-2014, 11:16 AM
RE: Is it possible to establish a catchall controller method?
- by
Rufnex
- 12-16-2014, 12:13 PM
RE: Is it possible to establish a catchall controller method?
- by
sneakyimp
- 12-16-2014, 12:28 PM
RE: Is it possible to establish a catchall controller method?
- by
ivantcholakov
- 12-17-2014, 12:47 PM
RE: Is it possible to establish a catchall controller method?
- by
sneakyimp
- 12-17-2014, 12:54 PM
RE: Is it possible to establish a catchall controller method?
- by
ivantcholakov
- 12-17-2014, 05:37 PM
RE: Is it possible to establish a catchall controller method?
- by
ivantcholakov
- 12-17-2014, 05:45 PM
RE: Is it possible to establish a catchall controller method?
- by
sneakyimp
- 12-19-2014, 10:29 AM
RE: Is it possible to establish a catchall controller method?
- by
albertleao
- 12-19-2014, 12:13 PM
RE: Is it possible to establish a catchall controller method?
- by
sneakyimp
- 12-21-2014, 02:36 PM
RE: Is it possible to establish a catchall controller method?
- by
libreteam_studio
- 12-18-2014, 12:32 AM
RE: Is it possible to establish a catchall controller method?
- by
ivantcholakov
- 12-21-2014, 05:47 PM
RE: Is it possible to establish a catchall controller method?
- by
sneakyimp
- 12-22-2014, 04:00 PM
RE: Is it possible to establish a catchall controller method?
- by
rfulcher
- 12-26-2014, 04:05 PM
RE: Is it possible to establish a catchall controller method?
- by
sneakyimp
- 12-27-2014, 01:23 PM
RE: Is it possible to establish a catchall controller method?
- by
jlp
- 12-31-2014, 01:24 PM
RE: Is it possible to establish a catchall controller method?
- by
twpmarketing
- 01-05-2015, 02:07 PM
RE: Is it possible to establish a catchall controller method?
- by
sneakyimp
- 01-05-2015, 12:18 PM
--------------------
Private Messages
User Control Panel
Who's Online
Search
Forum Home
General
-- News & Discussion
-- Events
-- Lounge
-- Regional User Groups
Using CodeIgniter
-- Installation & Setup
-- Model-View-Controller
-- Libraries & Helpers
-- Best Practices
-- Choosing CodeIgniter
-- General Help
CodeIgniter 4
-- CodeIgniter 4 Roadmap
-- CodeIgniter 4 Development
-- CodeIgniter 4 Feature Requests
-- CodeIgniter 4 Support
-- CodeIgniter 4 Discussion
-- CodeIgniter 4 Addins
Development
-- CodeIgniter 3.x
-- CodeIgniter 2.x
-- Issues
-- NetBeans Plugin
External Resources
-- Spotlight
-- Learn More
-- Jobs
-- Addins
Archived Discussions
-- Archived Libraries & Helpers
-- Archived Development & Programming
Theme © iAndrew 2016 -
Forum software by © MyBB