tobimori / kirby-seo

🔎 All-in-one toolkit that makes implementing SEO & Meta best practices in your Kirby 4+ site a breeze

Home Page:https://plugins.andkindness.com/seo

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Inheritance and validation

LuckyRessource opened this issue · comments

The following example:

  • Page 1 has robots settings and inheritance set for it.
    • Page 2 (child of page 1) Without own robots settings but with inheritance of the robots settings
      • Page 3 (child of page 2) Completely without SEO settings
        All pages are public.

If something is to be saved on page 3, the validation error always occurs. The robots fields must be filled. But the settings for this were actually inherited from the parent pages. The meta-Robtos statement is inherited correctly in the output in the front end, only saving in the back end no longer works, which invalidates the principle of inheritance.

This is to be expected. Please select the first value in the Robots fields for the inheritance.

Kirby does not have any logic or way to apply the default value to a page after it's creation. So until something in Core changes, this issue will stay.