change sharepoint site url rename subsite url

User need to change sharepoint site url or site collectiion url that we call as top level site and rename the url of subsite of as well. Rename and change subsite address or url is not much difficult but change site url top level needs special attention. Renaming the site name not change the url, we need powershell to achive this. Run the below powershell command metioned below to change url of site in sharepoint.

$site = Get-SPSite http://win-q2repghf9du:44179/sites/SharePointTechnicalSupport

After running the powershell script do an iis reset.

Change sharepoint site collection url rename subsite url

Categories: administration, powershell script, SharePoint 2019, sharepoint server, site collection

Tags: , , , , , , , , , , , , , ,

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: