My site::Home
Permalink
My site pages look like this My Site :: My Page Title.
I found the article that tells how to fix the problem.
"If you'd like to change that separator-- say to a dash or similar (or you'd like to customize the display of these titles in other ways), an easy way is to define its format by adding the following line in config/site.php:
define('PAGE_TITLE_FORMAT', '%1$s :: %2$s');
This is the default format-- with the first parameter being the site name and the second being the page. So if you changed it to:
define('PAGE_TITLE_FORMAT', '%2$s');"
And it is exactly what I did.
Went to config/site.php and changed code to this:
<?php
define('DB_SERVER', 'localhost');
define('DB_USERNAME', 'xxxxxxxxxx');
define('DB_PASSWORD', 'xxxxxxxxxxx');
define ('PAGE_TITLE_FORMAT', '%2$s');
define('DB_DATABASE', 'xxxxxxxxxxxxxxxxxxx');?><?php define('DIRNAME_APP_UPDATED', 'concrete5.6.3.2');?>
But it still shows as My site::My page title.
What did I miss?
Please help me. I am very new to this and trying not to go crazy :-(
I found the article that tells how to fix the problem.
"If you'd like to change that separator-- say to a dash or similar (or you'd like to customize the display of these titles in other ways), an easy way is to define its format by adding the following line in config/site.php:
define('PAGE_TITLE_FORMAT', '%1$s :: %2$s');
This is the default format-- with the first parameter being the site name and the second being the page. So if you changed it to:
define('PAGE_TITLE_FORMAT', '%2$s');"
And it is exactly what I did.
Went to config/site.php and changed code to this:
<?php
define('DB_SERVER', 'localhost');
define('DB_USERNAME', 'xxxxxxxxxx');
define('DB_PASSWORD', 'xxxxxxxxxxx');
define ('PAGE_TITLE_FORMAT', '%2$s');
define('DB_DATABASE', 'xxxxxxxxxxxxxxxxxxx');?><?php define('DIRNAME_APP_UPDATED', 'concrete5.6.3.2');?>
But it still shows as My site::My page title.
What did I miss?
Please help me. I am very new to this and trying not to go crazy :-(
You must make the changes in the root/config/site.php file and not in the root/updates/config/site.php file..
In your config/site.php
<?php
define('DB_SERVER', 'localhost');
define('DB_USERNAME', 'dbuser');
define('DB_PASSWORD', 'dbpassword');
define('DB_DATABASE', 'dbdatabase');
define ('PAGE_TITLE_FORMAT', '%2$s');
Clear your website cache from dashboard> syatem & settings>Optimization>Clear Cache
Then check.
<?php
define('DB_SERVER', 'localhost');
define('DB_USERNAME', 'dbuser');
define('DB_PASSWORD', 'dbpassword');
define('DB_DATABASE', 'dbdatabase');
define ('PAGE_TITLE_FORMAT', '%2$s');
Clear your website cache from dashboard> syatem & settings>Optimization>Clear Cache
Then check.