In this blog, we will discuss how to change site collection URL in SharePoint Online from the SharePoint Online admin center. Also, we will see how to change a SharePoint Online site collection URL using PowerShell.
Change site collection URL in SharePoint Online
Now, we will see how to change a SharePoint Online site collection URL from the SharePoint Online admin center.
Make sure you have permission to the SharePoint Online admin site.
Step 1: Log in to the SharePoint Online site and go to your Admin center. Make sure you are in the Active Sites section.
Step 2: Next click on the site name and go to General -> URL section and click on Edit.
Step 3: Next change the SharePoint site URL in the Site address like below:.
Step 4: Next it will take maximum of 10 minutes to update the SharePoint Online site and till that time it will show you updating.
Step 5: Next check the URL, it will show you the new site URL .
This is how we can change the SharePoint Online site URL from the browser from SharePoint Online admin center.
Change SharePoint Online site addresses using PowerShell
Now, we will see how to change SharePoint Online site addresses using PowerShell. Here we will see the SharePoint Online Management Shell.
Run the following command to verify that the site address can be changed:
Start-SPOSiteRename -Identity <SiteURL> -NewSiteUrl <NewSiteURl> -ValidationOnly
Run the following command to change the site address:
Start-SPOSiteRename -Identity <SiteURL> -NewSiteUrl <NewSiteURl>
This is how we can change SharePoint online site collection URL from the SharePoint admin center as well as by using PowerShell.
You may like following PowerShell tutorials:
- Add user to SharePoint group using PowerShell
- How to remove SharePoint Online Modern Page Title using PowerShell
- The file is not digitally signed PowerShell script
- Enable or Disable List Throttling using PowerShell in SharePoint 2013/2016
- SharePoint 2013/2016: Get all List Templates from Site collection using PowerShell
- Get SharePoint List Name and GUID using PowerShell and CSOM
- Delete and restore SharePoint site or subsite using Browser and PowerShell
- How to perform IIS backup and restore using PowerShell
In this tutorial, we learned how to change site collection URL in SharePoint Online from SharePoint Online admin center and how to change site collection URL in SharePoint Online using PowerShell.
Rajkiran is currently working as a SharePoint Consultant in India . Rajkiran having 7+ years of experience in Microsoft Technologies such as SharePoint 2019/2016/2013/2010, MOSS 2007,WSS 3.0, Migration, Asp.Net, C#.Net, Sql Server, Ajax, jQuery etc.He is C#Corner MVP (2 Times).
Download SharePoint Online Tutorial PDF FREE!
Get update on Webinars, video tutorials, training courses etc.