+1-888-365-2779
Try Now
More in this section

Forums / Designing & Styling / Changing page titles site-wide

Changing page titles site-wide

4 posts, 0 answered
  1. Phil Wilson
    Phil Wilson avatar
    18 posts
    Registered:
    22 Apr 2010
    15 Jul 2011
    Link to this post
    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.
  2. Boyan Barnev
    Boyan Barnev avatar
    1429 posts
    Registered:
    02 Dec 2016
    15 Jul 2011
    Link to this post
    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
  3. jkregala
    jkregala avatar
    159 posts
    Registered:
    22 Sep 2009
    19 Jul 2011
    Link to this post
    This thing changed the Page Name, not the Page Title.
  4. Boyan Barnev
    Boyan Barnev avatar
    1429 posts
    Registered:
    02 Dec 2016
    19 Jul 2011
    Link to this post
    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
4 posts, 0 answered