如何在SP2010中更改网站集的URL? [英] How to change the Site collection's URL in SP2010?
问题描述
是否有任何简单直接的方法来更改网站集的URL?
例如:
当前网站集:https://webapp.domain.com/sites/SC1
新网站集:https://webapp.contoso.com/sites/SC2
我指的不是服务器端的任何解决方案.
请让我知道我们是否可以通过SharePoint Designer或以任何其他方式在客户端进行此操作.
谢谢
srabon
您可以运行以下PowerShell命令来更改网站集的URL. >
site = Get-SPSite http://sp/sites/site1
site.Rename("http://sp/sites/site2")
最好的问候,
Linda Zhang
>
Hi,
Is there any easy and straight forward way to change the URL of the site collection?
For example:
Current Site Collection: https://webapp.domain.com/sites/SC1
New Site Collection: https://webapp.contoso.com/sites/SC2
I am not referring to any solution from the server end.
Please let me know if we can do it by SharePoint designer or in any other ways at client end.
Thanks
srabon
Hi Srabon,
You can run the following PowerShell commands to change the site collection’s URL.
site = Get-SPSite http://sp/sites/site1
site.Rename("http://sp/sites/site2")
Best Regards,
Linda Zhang
这篇关于如何在SP2010中更改网站集的URL?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!