How to make a proper index page for subdirectories in CodeIgniter

Posted by iamdadude on Stack Overflow See other posts from Stack Overflow or by iamdadude
Published on 2010-04-24T15:53:16Z Indexed on 2010/04/24 15:53 UTC
Read the original article Hit count: 267

Filed under:
|

I'm building an app that has a section for consumers and businesses, and I want to separate the controllers folder appropriately, so it looks like this -

http://domain.com/users/signup/
http://domain.com/business/signup/

I have it working by creating a separate folder for each section in the "controllers" folder, but I want to know how to make an appropriate page when the user visits the http://domain.com/users/. It currently just loads the homepage. How can I fix this?

© Stack Overflow or respective owner

Related posts about codeigniter

Related posts about php