Use URL path component instead of full URL for routing