Take the 2-minute tour ×
Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

I am working with a website that uses CodeIgnitor, a content management system I hadn't heard of before. The problem: Incoming links from AdWords contain a long query string, and if you add a query string to the requested URL, CodeIgnitor thinks that that's part of the page it has to fetch, so it returns a "Page not found" for anyone who comes in from AdWords.

Another problem: Google AdWords doesn't allow you to link to a page that redirects (locally or remotely), although someone can enlighten me if this isn't always true.

So, if anyone has any idea for how to solve this, either by changing AdWords settings, CodeIgnitor settings, or other hacks, it would be appreciated...

share|improve this question
    
Might be better asking on Stack Overflow, for the CodeIgniter side anyway. –  DisgruntledGoat Jul 18 '10 at 23:48
    
Yeah, this involves CI controller hackery. You would probably get a better response on SO. –  Tim Post Jul 19 '10 at 5:26
    
CodeIgnitor is a PHP framework - not a content management system. Are you thinking of ExpressionEngine (a CMS built atop CI)? –  philfreo Jul 19 '10 at 6:50
    
Thanks - It is CodeIgnitor, that just shows how little I know about it. I thought it was more relevant here than StackOverflow because I wasn't really interested in changing any actual code, just working with this or AdWords. –  eds Jul 19 '10 at 14:18

1 Answer 1

up vote 1 down vote accepted

You have to change the router object of codeignitor. The relevant documentation is found here: http://codeigniter.com/user_guide/general/routing.html

Besides changing the CMS-code you can also disable Adwords Auto tagging. This will not append any extra parameters to the target url.

share|improve this answer
    
I will try the first thing, but since we are using Analytics as well, I'll have to see if I can do that without auto-tagging before I try that. –  eds Jul 19 '10 at 14:23

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.