How to change title in Master Page

Jignesh Patel asked on September 18, 2015 23:58

Hi folks,

I am very new in Kentico and this is my first project after Kentico training.

I have read few blogs and Kentico documentation and as per knowledge base I think I must use Kentico Portal approach. So I have created Kentico Site using blank template, but I am not finding solution to change <title> prefix. I can see in my master template following HTML

<title>My Site - <\title>

So is there any way I can remove "My Site -" and/or replace with something else?

Again I am quite new in Kentico so any help or comments will be very valuable for me.

Thanks

Correct Answer

Brenden Kehren answered on September 19, 2015 00:42

In the settings Content you can set this. Make sure you set it for your site and not globally. You can change the site in the top left in the dropdown box. You might take a look at the tutorial documentation to get more information.

5 votesVote for this answer Unmark Correct answer

Recent Answers


Jignesh Patel answered on September 19, 2015 01:02

Hi Brenden,

Thank you for your help and very quick response.

Cheers

0 votesVote for this answer Mark as a Correct answer

Maarten van den Hooven answered on September 19, 2015 11:47 (last edited on September 19, 2015 14:10)

In my opinion the portal approach is a really good choice. Then you can do almost everything inside the Kentico environment without using external tools like Visual Studio and using the strength that the Kentico engine has to offer.

Brenden is right about the page title you need to go to :Settings -> Select your site on the left top of your screen -> Content -> Below you have an section “Metadata” and the option to change the “Page title prefix”

Good luck with your very first steps on Kentico and if you have questions you can always ask them on StackOverflow or here on Devnet

2 votesVote for this answer Mark as a Correct answer

Jeff Klunder answered on February 23, 2017 14:07 (last edited on February 23, 2017 14:15)

Hi,

Playing with this Kentico CMS and beginning to like it (=

Got a follow up question concerning the page and/or site title. I've found where I can edit the prefix and all, but is there also a way in which I can change the homepage title? What I would like to have is Sitename and Pagename | Sitename. At the moment I've got | Sitename as my homepage title. Can I remove the '|'character for the homepage only?

Edit after a couple of minutes: I found sort of a work around. For the whole site I use {%pagetitle_orelse_name%} for the page title format. For the page title prefix I use the project name. On page-level I go to the Meta properties and manually added a page title. Not sure if it's the correct way to go, but it gives me what I wanted.

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.