Hi all,
In System Information under CMS Config Settings the parameters *_url.
i.e. root_url, uploads_url etc. are all set to the temp url I used to set the site up before pointing my domain name to it.
the temp url is in the format ipaddress.domain (xxx.xxx.xxx.xxx/mydomain.co.uk)
It works ok in that visitors can get to the site but when I generate a sitemap it shows the temp url's instead of the real ones.
Can anyone tell me where I can change these?
I have searched every config file I can find to no avail.
Thanks and Regards
Clive
Change root_url in CMS Confgig Settings
Re: Change root_url in CMS Confgig Settings
If you moved it or changed where it was you need to either set the URL in the config or run install BUT AT STEP 5 DON'T CREATE TABLES OR INSTALL DEFAULT CONTENT this will fix any path problems...
Re: Change root_url in CMS Confgig Settings
Thanks DR.CSS,Dr.CSS wrote:If you moved it or changed where it was you need to either set the URL in the config or run install BUT AT STEP 5 DON'T CREATE TABLES OR INSTALL DEFAULT CONTENT this will fix any path problems...
Sorry to be so dim but which config file do I need to set it in? as I can't see it defined anywhere.
in the alternative solution you propose are you saying that if I install cmsms again but don't create tables or default content it won't change my current content at all?
Thanks again

BTW: I didn't move it I just set up a new hosting plan, recreated my site on the new host using the temp url then pointed my domain name to it.
Re: Change root_url in CMS Confgig Settings
The main config.php in the root of the site where the admin folder resides, yes if you run the install, from the same version and don't create tables or install default content it will not change your content etc...
Re: Change root_url in CMS Confgig Settings
Brilliant, many, many thanks
Re: Change root_url in CMS Confgig Settings
Sorry to be a pain but can anyone tell me the exact syntax to define
root_url = http://crsounds.co.uk
in config.php please?
I can't get it to work and searched and searched but can't find it anywhere.
root_url = http://crsounds.co.uk
in config.php please?
I can't get it to work and searched and searched but can't find it anywhere.
Re: Change root_url in CMS Confgig Settings
Code: Select all
$config['root_url'] = 'http://www.google.co.uk';
Re: Change root_url in CMS Confgig Settings
Many thanks Paul.paulbaker wrote:Code: Select all
$config['root_url'] = 'http://www.google.co.uk';