Hello all:
Strange issue here maybe someone recognises. I tried doing searching but nothing came up, which was surprising given how common I’d imagine something like this is.
First up I’m using EE v2.1.0 and primarily the Pages modules, although the same behaviour is happening on normal channel-based paths as well.
If I append any single URL parameter onto any URL in the site, I get a “Status: 404 Page Not Found.”
<a href="http://www.example.com/?x=1">http://www.example.com/?x=1</a>We are using a few non-EE bits of PHP for external feeds that pass an URL parameter. We also have tracking system where a parameter is appended to URLs. Also google pay-per-click appends a tracking code and I’m worried about this happening in that case. It seems like a fairly innocuous requirement that if the appended parameter doesn’t interfere with CMS variables it shouldn’t cause an issue? (This was always okay on EE 1.x)
One weird fix I’ve found it that appending 2 parameters fixes the problem, and delivers the page with parameters intact!
<a href="http://www.example.com/?x=1&y=2">http://www.example.com/?x=1&y=2</a>Can anyone shed some light on this and possible solutions?
Update: I just noticed the 2 parameter fix only works on sub-pages. It does not work on the root page of the site.