Consitent url matching without regex