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

  • Home
  • SEARCH
  • 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 9071343
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T17:53:12+00:00 2026-06-16T17:53:12+00:00

hi my folder sturcture is like this controllers/user/registration/register.php Inside the register.php controller there is

  • 0

hi my folder sturcture is like this

controllers/user/registration/register.php

Inside the register.php controller there is let say for test index function saying ‘hello world’.But i cant access the folder index through browser.

My base_url is

$config['base_url'] = 'http://localhost/new/';

But while i write

localhost/new/index.php/user/registration/register/index

I got an error

The page you requested was not found. 

what is weird is, I can access the controller fxn of user folder but cant access the controller fxn inside registration folder .And for default controller i have ‘home.php’

$route['default_controller'] = "home";
$route['404_override'] = '';

I just want to access the controller/user/registration/register/index fxn which says ‘hello world’ but it says an error-‘The page you requested was not found’.
Thanks

  • 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-16T17:53:14+00:00Added an answer on June 16, 2026 at 5:53 pm

    Codeigniter only supports a single level directory structure for Controllers.

    Try this link below for Multi Level Subfolder Controller in CodeIgniter :

    Multi Level Subfolder Controller in CodeIgniter

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

Sidebar

Related Questions

for example: /modules/test/controllers/index.php - folder structure example.com/test/index/param1/someValue - url or something like this. What
I have a files structure like this: Class (folder): - User.php - Rule.php Scripts
I have a folder structure like this: /articles .index.php .second.php .third.php .fourth.php If I'm
the folder structure is like this: plugin->upload->php->files list-> 'script_url' => $this->getFullUrl().'/'.basename(__FILE__), //'upload_dir' => dirname(__FILE__).'/files/',
this is my php folder/file structure: mvc controller login.class.php model login.class.php lib login.class.php core
On Magento the URL structure of a module will be like this: example.com/[index.php]/:module/:controller/:action/:param1[/:paramN ...]
I have a folder structure like this: /some_folder /tmp /tmp/foo /tmp/foo/fu * /tmp/bar /tmp/bar/bah
Is this possible in any way? My project folder structure looks like this: my_project:
If I have a folder structure that looks like this: / /bin/myComponent.cfc /reports/index.cfm How
I would like copy just file.xml without folder structure using overlays like this: <overlays>

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.