Page 1 of 1

link tracking, query strings and internal pretty url's

Posted: Wed Mar 24, 2010 1:30 pm
by elliot
Hello all

Ive recently completed a site which uses the internal pretty URL method (mod rewrite is not available).

They use a commercial mass mailing product which appends the links within the mail with a query string to enable tracking of clicks.

These 2 things are incompatible as the query string breaks the URL ie:

http://www.mysite.com/index.php/My-Page/

becomes an invalid link:

http://www.mysite.com/index.php/My-Page?12345678

Getting rewrite installed and falling back to standard URL's has become impossible - can anybody think of a way to make this work with internal pretty URL's? Any advice will be much appreciated.

Im using CMSMS 1.5.3 btw

Re: link tracking, query strings and internal pretty url's

Posted: Wed Mar 24, 2010 1:33 pm
by calguy1000
we no longer support 1.5.3
Upgrade to CMS 1.7 and see if you're still having the problem.

Re: link tracking, query strings and internal pretty url's

Posted: Fri Mar 26, 2010 1:24 pm
by elliot
Hello and thanks for your response.

It seems like the issue is related not to the CMSMS version, but the installation on that server in particular.

Ive checked it works on various different servers and CMSMS versions and it does in every case, its just this one installation that wont allow the adding of a query string on the end of the URL - it gives a 404 error.

Can anybody thing of a reason why

http://www.mysite.com/index.php/My-Page?12345678

would not work?

Thanks

Re: link tracking, query strings and internal pretty url's

Posted: Fri Mar 26, 2010 1:49 pm
by calguy1000
Check for mod security, and if it's enabled have your host disable it.

Mod security is evil in 99.5% of the cases, because it tends to be over-used.

Re: link tracking, query strings and internal pretty url's

Posted: Fri Mar 26, 2010 2:04 pm
by elliot
I cant see it, Ive added a link below incase it might offer another clue

link removed

Re: link tracking, query strings and internal pretty url's

Posted: Fri Mar 26, 2010 2:12 pm
by calguy1000
It's not a PHP thing it's an apache thing.
You'll have to check your error and access logs.

Re: link tracking, query strings and internal pretty url's

Posted: Fri Mar 26, 2010 2:17 pm
by elliot
Thanks for your help, much appreciated.

I dont know whether I can get CP access to the webserver to check the logs - I will contact the client.

Re: link tracking, query strings and internal pretty url's

Posted: Fri Mar 26, 2010 2:21 pm
by calguy1000
Having access to the logs is basically a REQUIREMENT to be able to do any kind of troubleshooting on your site.
it's part of the research we ask that you do before posting questions.