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 6586281
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T16:46:17+00:00 2026-05-25T16:46:17+00:00

I am currently designing an application that needs to be modular – for this

  • 0

I am currently designing an application that needs to be modular – for this i am using the Modular Extensions – HMVC for code igniter.

I am trying to change the default_controller as defined in the application/config/config.php file to default to a module controller, for example: users/controllers/login, however no matter what i put into the default_controller setting i get 404 pages.

I have tried the following to no avail:

 $route['default_controller'] = "index.php/modules/core/controllers/login";
 $route['default_controller'] = "/modules/core/controllers/login";
 $route['default_controller'] = "login";
 $route['default_controller'] = "./modules/core/controllers/login";
 $route['default_controller'] = APPPATH."/application/modules/core/controllers/login";

As you can tell my modules directory is in application/modules/
Any ideas are much appreciated.

  • 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-05-25T16:46:17+00:00Added an answer on May 25, 2026 at 4:46 pm

    you have to use module_name/controller_name

    if your module is users and controller is login then default is written as

     $route["default_controller"] = "users/login";
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm designing an application that processes RSS feeds using MongoDB. Currently my collections are
I am designing a web application using GWT currently, which is also the first
Let's say that I'm currently designing an application where I will need to use
(Let me give you some context) I am currently designing an application that is
I'm currently designing an architecture for a web-based application that should also provide some
I'm currently designing/reworking the databinding part of an application that makes heavy use of
I am currently designing a web application that will allow users to schedule tasks
I'm currently designing a windows mobile application using compact framework 3.5 and I need
I am currently designing the API for an existing PHP application, and to this
I'm currently using JScript.NET for a small UI application. The problem is that my

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.