Removing ? in the end of URLs if no query params.