Split the resources by their URL