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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T21:51:34+00:00 2026-05-24T21:51:34+00:00

my codeigniter application config: $config[‘enable_query_strings’] = TRUE; $config[‘uri_protocol’] = ‘PATH_INFO’; so I can access

  • 0

my codeigniter application config:

$config['enable_query_strings'] = TRUE;
$config['uri_protocol'] = 'PATH_INFO';

so I can access my application like this : index.php?c=index&m=about

but I have a controller in “application/controllers/setting/” directory , named user.php

if mod_rewrite is enabled , i can access like :
index.php/setting/user/someMethod

but How do I access it like this :
index.php?c=setting/user&m=someMethod
the result is 404 Not Found

log file says:

ERROR - 2011-08-11 08:03:07 --> 404 Page Not Found --> settinguser

EDIT

Answer:

index.php?d=setting&c=user&m=someMethod

  • 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-24T21:51:35+00:00Added an answer on May 24, 2026 at 9:51 pm

    You can access them like this

    index.php?d=setting&c=user&m=someMethod
    

    You need the directory trigger if you have a sub directory.
    It’s in your config.php file but it has the experimental comment.

    $config['allow_get_array'] = TRUE;
    $config['enable_query_strings'] = TRUE;
    $config['controller_trigger'] = 'c';
    $config['function_trigger'] = 'm';
    $config['directory_trigger'] = 'd'; // experimental not currently in use
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I would like to access the $db['default']['dbprefix'] variable from /application/config/database.php ( CodeIgniter configuration file)
My codeigniter application directory structure is like --application --htdocs    --index.php    --.htaccess   
Concerning this post, I'd like to add css,images and js to my codeigniter application.
I just added a htaccess file to my codeigniter application that removes index.php from
I have an application running with Codeigniter, its name is SAF. folder structure: /SAF/index.php
I am building a PHP application in CodeIgniter. CodeIgniter sends all requests to the
CodeIgniter allows access to POSTed data via: $this->input->post('input_name'); where 'input_name' is the name of
I have a web application built with jQuery Mobile and PHP (CodeIgniter framework). Now
I made a tab as a Facebook Application. This app was made over Codeigniter
In my LAMP application (using CodeIgniter), I have a call to $this->db->update... that generates

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.