ethercreative / seo

SEO utilities including a unique field type, sitemap & redirect manager
MIT License
267 stars 95 forks source link

Changing the title configuration doesn't work #439

Closed 7ochem closed 1 year ago

7ochem commented 1 year ago

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

7ochem commented 1 year ago

I've found it in the SEO settings screen:

SEO-Settings