URL path generation