如何在SP2010中更改网站集的URL? [英] How to change the Site collection's URL in SP2010?

查看:90
本文介绍了如何在SP2010中更改网站集的URL?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否有任何简单直接的方法来更改网站集的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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆