Added compatibility if a custom route is defined
Deleted position altLoc. Urls formed acording Route:url format