A client has put their website through some QA testing, and one of the items of feedback is that the home page of the site doesn't generate a 404 error when a query string is added to the home page URL, e.g. http://mywebsite.com/?dfdfdfd=dfdfdfd&dfdfdfd This only seems to affect the home page.
Is it possible to make a URL like this go to a 404 page, instead of loading the home page? If so, how?
I hoped to use the redirect tag and to redirect the home page to a 404 page if segment_1 wasn't blank, but that doesn't work as EE doesn't seem to see the query string with segment conditionals (as expected).
I'm using strict URLs and have my 404 page setup correctly. Going to http://mywebsite.com/anythingsdfdd generates a 404 as expected. So it's just the query string URLs on the home page that I'm having issues with. Thanks in advance for any help.