The path doesn't need to be hardcoded and instead it can be dynamic or a configuration or other ways.Per my knowledge, for this use case, Sling is behaving as it should to resolve the urls based on custom configurations. It all depends on ranking/execution of services.I would let other folks to reco...