Add compatibility for old-style URLs