Disable Meta title inhering from parent page

Tim G. asked on July 9, 2020 19:25

In my settings I have a macro set up for 'Page Title Format' (Settings > Content > Metadata) to dynamically add the page title followed by a prefix:

{%pagetitle_orelse_name%} - {%prefix%}

This works fine but every page I create inherits the previous page title. I have to uncheck the 'inherit's tickbox on the metadata tab and delete the inherited title to get the dynamic title to show.

How can I remove this inheritance so the dynamic title is the default?

Recent Answers


Bryan Johnson answered on July 9, 2020 23:22 (last edited on July 9, 2020 23:30)

There could be a mix up between the global and site-specific settings. When you are looking at the "page title format" setting, check the dropdown in the upper left corner of the page. There should be global settings as well as site-specific settings which if set, override the global settings for that site.

Another problem could be that an ancestor page is overriding the Title metadata setting. Each new child page will by default inherit the parent. You need to be sure that all ancestors have blank page title settings, too.

0 votesVote for this answer Mark as a Correct answer

Tim G. answered on July 10, 2020 09:18

I'm pretty sure it's not a settings issue. This is set up for my site so not inheriting the global setting there. If I remove the inherited title at page level it works as expected.

The behavior I'm seeing is that if ANY ancestor page has inherit page title set then new child pages further levels deep will also default to inherit. I've tried removing the inherit setting from the immediate parent but when creating a new page it still defaults to inherit page title.

Is that expected? Is there anyway to disable this globally or are we faced with updating each and every page to remove this?

0 votesVote for this answer Mark as a Correct answer

Dmitry Bastron answered on July 10, 2020 11:17

Hi Tim,

Inherit is the default behaviour for newly created pages and cannot be disabled via settings as far as I know. You can however try to empty default metadata (title and description) on a root node so that all nodes are inheriting empty values always.

0 votesVote for this answer Mark as a Correct answer

Bryan Johnson answered on July 10, 2020 17:58

Hi Tim, I do exactly what Dmitry suggests to get around the problem - make the ancestors blank. That way the inherit setting works by default on the new pages.

0 votesVote for this answer Mark as a Correct answer

Tim G. answered on July 10, 2020 18:02

Thanks all - must admit it feels like it's more trouble than it's worth using any inheritance!

0 votesVote for this answer Mark as a Correct answer

Brenden Kehren answered on July 13, 2020 12:21

How it's setup out of the box works perfect for 99.9% of the implementations. Inheritance is done like it is because most people forget to set their meta values at all pages so it automatically gets the parent value if it exists.

We set this initially at the master page level so in the event someone adds a page without metadata it will automatically fill until they get back to edit it. It's about budget, if the client has it then we perform SEO enhancements for them otherwise it's their responsibility and they get the basic setup like I described.

0 votesVote for this answer Mark as a Correct answer

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