change of rimary domain name for site
Permalink
Is there a way to change the main domain name?
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
David
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
David
In the [root]/config/site.php file, add this line
Once David's purchased the new domain name, pointed it at the correct nameservers specified by his web host, and set up the new address as a "parked domain" in his web host's control panel (cPanel, Plesk, etc) the concrete5 site should render pages at the new domain AND the old one as well.
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.
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.
Hi Thanks a lot this worked fine
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.
David
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.
David