Does it help if you put a slash in front of the query portion of the URL?
So: https://example.com/?id=32
This communicates to the server that you call the default file on it with the GET parameters.