Subdomain URL detection for paths