added a new option to ignore the query string for routing purposes