Changing page titles site-wide - Front- & Back-End Development - Front- & Back-End Development - Progress Community
 Front- & Back-End Development

Changing page titles site-wide

  • Changing page titles site-wide
  • I have done a lot of research into how we can implement a standard page title prefix across the entire site.

    I have read a lot of posts regarding doing this in code but we need a more client-friendly way of managing page titles that doesn't require coding.

    We're using master pages for our templates but it's clear that the <title> tags from them are ignored.

    Does anyone have a simple, non-code solution that will allow us to add a prefix to the page titles that are added individually in the settings for each page? And, have that solution be manageable by a non-technical client?

    Thanks in advance.
  • 285389_AddPageTitlePrefix.rar
    Hello Phil Wilson,

    Please find attached a simple web form which you can add to your project, build it and then freely navigate to this page whenever you want to add a prefix globally to all pages. The web page displays a single button and a textbox where you can enter the desired prefix, I believe this solution should suit your needs.

    All the best,
    Boyan Barnev
    the Telerik team
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  • This thing changed the Page Name, not the Page Title.
  • Hi Jkregala,

    Do you mind changing the
    .ForEach(p => p.Page.Title = prefix + p.Page.Title)
    line to:
    .ForEach(p => p.Page.HtmlTitle = prefix + p.Page.HtmlTitle)


    All the best,
    Boyan Barnev
    the Telerik team
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items