ethercreative/seo

Changing the title configuration doesn't work

7ochem opened this issue · 1 comments

Description

I want to change the - {{ siteName }} postfix into | {{ siteName }}. I've created config/seo.php with the following content, but I still get the SEO title with a dash.

<?php declare(strict_types=1);

return [
    'title' => [
        [
            'key'      => '1',
            'template' => '{title}',
            'locked'   => false,
        ],
        [
            'key'      => '2',
            'template' => ' | {{ siteName }}',
            'locked'   => true,
        ]
    ]
];

Steps to reproduce

  1. Add config/seo.php with the content as above
  2. Run clear caches, config apply
  3. Refresh the admin and front side pages

Additional info

  • Craft version: 3.7.53.1
  • SEO version: 3.7.4
  • PHP version: 8.1.0
  • Database driver & version: 5.5.5-10.5.12-MariaDB-1
  • Other Plugins:
    • craftcms/element-api 2.8.6.1
    • craftcms/feed-me 4.5.3
    • craftcms/redactor 2.10.10

I've found it in the SEO settings screen:

SEO-Settings