0

I have a subsite I created within my sharepoint environment, but only want each of these subsite pages to reflect the name of the page, not the name of the subsite. For example, I want of each subpage to be...

<title>my custom page</title>

not...

<title>subsite name - my custom page</title>

how do we fix this?

what from here needs to change, in order to just get the custom page name...

    <!--MS:<asp:ContentPlaceHolder id="PlaceHolderPageTitle" runat="server">-->
    <!--SPM:<SharePoint:ProjectProperty Property="Title" runat="server"/>-->
    <!--CS: Start Page Field: Title Snippet-->
    <!--SPM:<%@Register Tagprefix="PageFieldFieldValue" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c"%>-->
    <!--MS:<PageFieldFieldValue:FieldValue FieldName="fa564e0f-0c70-4ab9-b863-0177e6ddd247" runat="server">-->
    <!--ME:</PageFieldFieldValue:FieldValue>-->
    <!--CE: End Page Field: Title Snippet-->
    <!--ME:</asp:ContentPlaceHolder>-->
  • You may need to edit the master page. Have you tried that? – jpollar Feb 11 '15 at 18:17
  • Yes I tried - there is nothing there. – klewis Feb 11 '15 at 19:05
1

Discovered the answer - simply remove the following sharepoint tag from the snippet (if you have it there) which should be in your custom page layouts...

   <!--SPM:<SharePoint:ProjectProperty Property="Title" runat="server"/>-->

Or, if you don't want to modify the .htm code in your custom page layout, you can edit the SEO properties of each page from the ribbon, when you are in edit mode. You can change the browser title, as well as other cool stuff like meta keywords and descriptions per page. This is wonderful!

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.