change of rimary domain name for site
On my site Concrete is installed in the root, but uses .org.uk. Now the .co.uk has become available I want that to be the main domain.
Any help appreciated
define('BASE_URL', 'http://www.site.co.uk'); // Force site to use this base url
BASE_URL is typically used when you want concrete5 to enforce a particular URL-- for instance you have traffic coming in at both example.com andhttp://www.example.com but you want pages to always have "www" in the URL.
One could use it to redirect incoming traffic to the new .co.uk version of the domain if desired, but as mentioned above you'd need to get it correctly pointed at the web hosting space first in order for it to work.
The hosting company has now changed the primary domain to .co.uk and parked and redirected the .org.uk
However I had to remove 3 redirecting lines from my .htaccess file first. Otherwise it did not work.
So thats great. It all came about because of some difficult web company refusing us access to the ftp for the site as we were developing a new site for a customer and they were losing the business.