Link to current page without query string

href="?"

Not exactly what you are after - there's still a question mark at the end - but functionally equivalent.


You can use <a href="."> to reload the current page, removing the query string.

See this for a more detailed answer.