?
in the URL indicates the beginning of the query string. A ?
in the end, without any variables following it, it is usually an unnecessary way to say "it has absolutely no query."
It would be possible, for example, using a URL rewrite mechanism to check the incoming REQUEST_URI to see if it ends with ?
, and perform a different action than queries that do not end in ?
, but it will be an unusual use. It would be much simpler to specify some value in the query string.
source share