2

我有一个 SharePoint 网站,我的主页在 mySiteRoot/Pages/default.aspx 上(我认为这里很正常),但问题是浏览器选项卡中的名称也是“默认”。

我想更改选项卡中显示的名称而不更改 .aspx 文件的名称,但尽管我进行了所有搜索,但我在 SharePoint 上找不到它。

有人有解决方案吗?

4

3 回答 3

5

SharePoint 中的每个页面都应该有一个名称和一个标题。Name 是指页面的文件名,因此会影响页面的 URL(在您的情况下为“default.aspx”)。

标题独立于页面名称,这是在浏览器标题栏/选项卡中显示的内容。

要编辑现有页面,最简单的方法是导航到Site Actions> View All Site Content。在“文档库”区域下,找到并打开“页面”库。在库中,找到“默认”,然后从其上下文菜单或功能区中选择“编辑属性”。在那里,您可以将标题更改为您想要的任何内容。

于 2012-05-29T13:58:54.220 回答
2

在 SharePoint 设计器中打开页面.. 并查找字符串:

<asp:Content ContentPlaceHolderId="PlaceHolderPageTitle" runat="server">
     <SharePoint:ListItemProperty Property="BaseName" maxlength="40" runat="server"/>
</asp:Content>

只需将其替换为:

<asp:Content ContentPlaceHolderId="PlaceHolderPageTitle" runat="server">
    Your title 
</asp:Content>

希望你能得到它的工作。

于 2013-10-07T15:39:14.177 回答
0

which edition/version of SharePoint ? I guess it's 2010 with wiki home feature enabled.

If I'm right, you have to rename the file to rename the page. But don't worry, your page will still be the home page of your site.

You can in all case click on set as default page on any page in the ribbon.

PS: you should consider posting on http://sharepoint.stackexchange.com which is the dedicated site for SharePoint Q/A.

于 2012-05-29T13:27:02.217 回答