How to change the default "site name :: page title" formatting in 5.7

This is a community-contributed tutorial. This tutorial is over a year old and may not apply to your version of Concrete CMS.
Aug 16, 2015

In your application\config folder, open concrete.php. If you don't have a concrete.php file, you will need to create one. The concrete.php file will only contain PHP, so only an opening PHP tag is required. Paste the following code into concrete.php.

return array(
    'seo' => array(
        'title_format' => '%1$s :: %2$s',
        'title_segment_separator' => ' :: ',
    )
);

-- this is a copy of the default configuration settings for formatting the site name, page separator, and page title

If concrete.php exists and already has arrays of configuration settings. Add a comma after the last first level subarray (not the returned array) and then paste the formatting configuration settings after the comma.

Example: existing array

return array(
    'marketplace' => array(
        'enabled' => false
    ),
    'external' => array(
        'news_overlay' => false,
        'news' => false,
    )
);

-- 'external' is the last first level subarray

Example: changing the separator to a hyphen

return array(
    'seo' => array(
        'title_format' => '%1$s - %2$s',
        'title_segment_separator' => ' - ',
    )
);

Example: adding to the existing array

return array(
    'marketplace' => array(
        'enabled' => false
    ),
    'external' => array(
        'news_overlay' => false,
        'news' => false,
    ),
    'seo' => array(
        'title_format' => '%1$s - %2$s',
        'title_segment_separator' => ' - ',
    )
);

The first array key 'title_format' has a string value that has a placeholder for the site name, separator, and a placeholder for the page name.
The second array key 'title_segment_separator' has a string value that is the separator.
The separator in title_format and title_segment_separator must match.

Recent Tutorials
Upgrading Concrete from 8.5 to 9.x
Jun 21, 2024
By myq.

How to avoid problems upgrading from 8.5 to 9.x

How to change the default date format
May 30, 2024
By myq.

Change the format of the default date

WebOps Tutorial on Running and Upgrading a Concrete CMS Website
May 2, 2024
By myq.

Describes how to deploy, manage, and upgrade a Concrete CMS website

Using the Concrete Migration Tool Addon
Apr 27, 2024

How to use the Concrete CMS Migration Tool

Create custom Site Health tasks
Apr 19, 2024
By myq.

This tutorial will guide you through the creation of a new Site Health task

Reusing the same Express entity in multiple associations
Apr 11, 2024
By myq.

How to create and manage multiple associations in Express

Improvements?

Let us know by posting here.