canonical URL unstable, changing on me

Permalink
The properties section lists our website canonical properly, where it then is replaced in the hypertext with {CCM:BASE_URL}. Yet on several pages I see in the navigation bar that the "www" is missing, the site name is different than found in Properties and at one point home page links were going to "translate.fullerlabs.com" as the canonical. The latter led to error "Forbidden Page" for all the world to see. How can this happen when you have other things requiring your attention?

 
enlil replied on at Permalink Reply
enlil
try adding this line to your ROOT/config/site.php file

define('BASE_URL', 'http://www.yoursite.com');

setting it with or without the www should force the site to display it one way or the other.
Job replied on at Permalink Reply
Job
I also like to use htaccess to force www or non-www.
I guess which is personal preference.
leefuller replied on at Permalink Reply
Many thanks!

Lee

-----Original Message-----
From: concrete5 Community [mailto:discussions@concretecms.com]
Sent: Sunday, March 16, 2014 11:27 AM
To: lee@fullerlabs.com
Subject: canonical URL unstable, changing on me : Chit-Chat