On migrating from SharePoint 2013 On-premises to SharePoint online, the Client wanted to create managed paths /projects and /departments as in their existing on-premise environment.
How to create managed path in SharePoint Online?
Do you want to add a managed path to SharePoint Online? Unfortunately SharePoint Online does not provide a mechanism for creating new managed paths, either via SharePoint admin center or through PowerShell cmdlets (As of today!). In SharePoint Online, /sites and /teams are the only wildcard managed paths available to create site collections.