[Routing] add shortest url generation type
use the shortest path generation mode in subpath

Letting users configure absolute or relative paths for this method is not really useful.