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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T10:54:56+00:00 2026-05-20T10:54:56+00:00

I have following url: http://localhost.com/phpdemo/bid/tf/red ? This url redirects through This [ $route[‘tf/red?’] =

  • 0

I have following url:

http://localhost.com/phpdemo/bid/tf/red?

This url redirects through This [ $route[‘tf/red?’] = “abc/blue” ] to following url:

http://localhost.com/phpdemo/bid/abc/blue

Till now there is no problem. The problem starts when I attach some value with “?” like below:

http://localhost.com/phpdemo/bid/tf/red?a [It always go to default welcome page]

I have tried follwoing routes:

$route['tf/red?(:any)'] = "abc/blue"

$route['tf/red?:any'] = "abc/blue" 

$route['tf/red?(a-zA-Z0-9=)'] = "abc/blue" 

I have tried following config settings:

$config['permitted_uri_chars'] = 'a-z A-Z 0-9~%.:_\-';
$config['enable_query_strings'] = FALSE;
$config['allow_get_array']      = TRUE;

I also checked by using following:

$config['enable_query_strings'] = TRUE;

Now Iam clueless, what is wrong, either with Codeigniter or myself.

Can some one guide me in this regards.

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-05-20T10:54:56+00:00Added an answer on May 20, 2026 at 10:54 am

    I would look at the value of $config[‘uri_protocol’] – it is set in the main config.php file and the default is ‘AUTO’.

    Try each of the possible values to see which works for you – PATH_INFO or REQUEST_URI are common choices.

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

Sidebar

Related Questions

I have the following code: if (System.IO.File.Exists(htmlLocation)) { vEarthBrowser.ObjectForScripting = this; vEarthBrowser.Url = new
after debbuging i am getting following url of my webproject: http://localhost:54594/Home/Home /Home-Controller/Home-Action http://localhost:54594/AboutUs/AboutUs /AboutUs-Controller/AboutUs-Action
I have been using this guide http://tinyurl.com/mercurial-iis to attempt to setup Mercurial on IIS
I have developed a rest web service by using the following link http://www.c-sharpcorner.com/UploadFile/dhananjaycoder/simplerestservice11172009221218PM/simplerestservice.aspx Now,
I have the following code making a GET request on a URL: $('#searchButton').click(function() {
I have the following javascript: $.ajax({ type: "POST", dataType: "json", url: "/Home/Submit", data: {
I have the following code: <script type=text/javascript> $(document).ready(function() { $(#Save).click(function() { $.post(url, { data:
Let's say I have the following jQuery AJAX call: $.ajax({ type: POST, url: MyUrl,
I'm using asp.net with url rewrite . Inside Page Load I have the following
I have following situation: I have loged user, standard authentication with DB table $authAdapter

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.