alhermette - 2:04 pm on Apr 14, 2012 (gmt 0)
OK I contacted my hosting company about this because I've never changed any settings anywhere and their support is second to none.
The site is on a Liquidweb VPS. I checked some other sites that I have and also got the support guys to check some of their sites. They all react in an identical manner.
If you append garbage after an html page like this:
it will throw a 404. If you append garbage after a php page like this:
it will serve the contents of page.php and ignore the garbage. The url in the address bar will remain unaltered with all the garbage intact.
Liquidweb's support team say that that is just how it works. It looks like the best way forward then is to create a rewrite in .htaccess to get rid of the garbage. It would need to match any file that ends in .php and remove anything after that unless it is a querystring (because I do use querystrings quite a lot). How would I do that?
Thanks for the help