Forum Discussion

Aleksandr Sapozhkov's avatar
Aleksandr Sapozhkov
Copper Contributor
Mar 11, 2017

Change URL for existing personal site

We have farm on SharePoint 2013 with profile services and personal sites.

Currently personal sites reside on http://mysites.contoso.com/personal/%username%.

We need to move personal sites to another URL, while root site collection, http://intra.contoso.com should remain in place, so alternative mappings is not a good option for us.

The desired personal sites URL is https://onedrive.contoso.com/personal/%username%.

 

We have changed URL settings in profile service application but for old users "Onedrive" button on the nav bar still redirects to http://mysites.contoso.com/personal/%username%.

We would move site collections by Backup-SPSite, Remove-SPSite and Restore-SPSite since we want to move from path based to host named.

But the question is how we make change in profiles or something so that clicking on "Onedrive" and "Sites" would redirect to the new URL. 

Resources