Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8785699
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T21:25:59+00:00 2026-06-13T21:25:59+00:00

As I read the doc , controllers in CodeIgniter are supposed to support multiple

  • 0

As I read the doc, controllers in CodeIgniter are supposed to support multiple level subfolders, but as far as I have tested, it is impossible to work after first a first level folder.

By example:

mysite.dev/ (index page, default controller home.php, works)

mysite.dev/admin/ (admin section, in admin/home.php, works)

mysite.dev/admin/manage/ (in admin/manage/home.php, do not work)

I am trying to know why and how to make it work on multiple level sub folders?

Thanks in advance!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T21:26:00+00:00Added an answer on June 13, 2026 at 9:26 pm

    CI only allows one sub-dir level. However, you can emulate this pattern with routes file as @Brendan says:

    Controllers:

    welcome.php
    admin/admin.php
    admin/manage.php
    

    Routes file:

    $route['admin/manage/:any'] = "admin/manage/$1";
    $route['admin/admin'] = 'admin/home.php';
    

    You can implement some changes to the hardcode to get works as expected: http://codeigniter.com/forums/viewthread/190563/

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have read the documentation ( http://dev.mysql.com/doc/refman/5.1/en/partitioning.html ), but I would like, in your
I read the doc for the Spreadsheet Edit Events but if I test which
I read the Hibernate Envers doc, but didn't understand how I can get the
I'm trying to read the cocos2d api doc but I'm confused about what the
I read the doc: from google.appengine.api import mail mail.send_mail(sender=support@example.com, to=Albert Johnson <Albert.Johnson@example.com>, subject=Your account
Below is my code to read a doc/docs file. it can read, but the
I have an application and there is a requiremt to read a doc/dox file
I'm trying to read .doc .docx file in php. All is working fine. But
I read the doc of course, but I don't quite get the meaning of
I have to click two times, each time I want to read the doc.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.