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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T13:50:51+00:00 2026-05-23T13:50:51+00:00

Using the latest 1.x (1.7.3) version of CodeIgniter, I get 404 errors on gclid

  • 0

Using the latest 1.x (1.7.3) version of CodeIgniter, I get 404 errors on gclid from Google Adwords. My understanding is that it’s because the “?” in the URL that Google Adwords adds. I’ve read a bunch of answers online, including here, but I couldn’t find anything concrete.

The most common are edit the config file to:

$config['uri_protocol'] = "PATH_INFO";
$config['enable_query_strings'] = FALSE;

Which solved the gclid problem but killed all my other links. In other words links such as myDomain.com/something/here/there would no longer work.

I’ve also seen solution that say to edit the .htaccess, but most seem to be workarounds that disable proper tracking by google by just redirecting.

So my question is: What is the proper to allow gclid to go through as well as why is this a good way?

  • 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-23T13:50:52+00:00Added an answer on May 23, 2026 at 1:50 pm

    Using the actual latest version of codeigniter, try using…

    $config['allow_get_array'] = TRUE;
    $config['uri_protocol'] = "AUTO";
    

    which is default in the latest releases, instead of …

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

    which changes your url structure to completely using querystrings instead of segment based urls, which is why your other urls are breaking.

    Upgrading information

    What’s different in Codeigniter 2? (the highlights)

    How to upgrade to Codeigniter 2

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

Sidebar

Related Questions

I'm using the latest version of H2, i.e. version 1.3.150 and I get a
Using the latest version of NHibernate (and possibly some plugins), is that possible to
I am currently building an Excel 2007 Add-in using VSTO (latest version + sp1)
A rather odd experience. Using the latest PDK (v7.3) from ActiveState, I used perlctrl
How could I ensure that all the clients will always be using the latest
I am using latest version of jQuery Autocompletion plugin and have populated an array
Using the latest version of Resharper (4.5.x) with VS2008. Every now and then (pretty
My configure.in file has LT_VERSION=1.1 . I am using the latest version of autoconf
I am using the latest version of the official Amazon S3 SDK (1.0.14.1) to
I'm using the latest version of jFeed with the latest jQuery. I know jFeed

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.