Ignore query params when parsing url