convert slug from old-style URLs