Move a concrete 5 site from test domain to live domain1 user found helpful
How can I move my entire Concrete 5 site from one domain to another?
back up your db and your file system (you will need to move the files to the new file system on the new domain anyway). Turn off pretty urls.
Move the website (files and db). If your db is within the same phpadmin and you want to leave the other db in tact, create a new db and import the file that you exported in the previous step.
Once the website (files and db) have been moved. Edit site_theme_paths.php (in your root directory). Change the following:
db_username - if you created a new one.
Assuming the the new domain is on the same hosting provider, you should not have to change db_server
Once the site has moved successfully go into your dashboard - keep in mind you dashboard link will be differentwww.www.newdomain.com/index.php/dashboard....
Turn pretty urls back on - you will now be able to go to the dashboard viawww.www.newdomain.com/dashboard...
This should do it. Any questions, feel free to PM me.
I'm having trouble doing this migration. The domains are on the same server, but after installing a fresh copy of concrete5 on the new domain (root) and then trying to transfer/overwrite the existing files with the ones from the previous/test domain, I get many errors.
Changing the .htaccess didn't work.
I couldn't find the supposed site.php in the /config folder, nor the site_them_paths.php in the root.
Where are all of the domains referenced in the concrete installation?
Which folders can be straight copied without the need to re-configure?
Do I need to copy the DB over if I would essentially be using the same one (e.g. decommissioning the "test" or old domain)?
I've got another post on this, but haven't received any responses.
I'm considering going over to Drupal; at least, testing with it since I have 3 domains on this server.
This assumes you are not upgrading the site when you are moving it, just going from the same version to the same version.
If you need to move and upgrade, read this:
was released not too long ago and could be helpful/streamline the process.
What I do:
In your functioning site that you want to move:
turn off pretty urls
clear the cache
run a backup
download the backup
Create a fresh install of C5 at the new location
Go to the old c5 folder by ftp or locally on your hard drive
copy everything in the folders:
and all folders named with numbers in the "files" folder (like 1913). I think they all end in 13
the corresponding folders in your fresh install
You would need to copy the contents of some other folders if you've created override files in there, but this is less common (sometimes I have something in "elements" or "single_pages" for example)
in your new install, upload the backup from the old site into the files/backups folder
in the new site, go to the dashboard in C5 and restore from backup
when the restore is finished, you will see a blank white page (don't panic)
if all goes well the site will be good to go then, just go to your homepage.
Remember to turn on pretty urls...
Warning: chmod() [function.chmod]: Operation not permitted in /home/httpd/vhosts/domain.ch/subdomains/test/httpdocs/concrete/core/controllers/single_pages/dashboard/system/backup_restore/backup.php on line 95
Warning: chmod() [function.chmod]: Operation not permitted in /home/httpd/vhosts/domain.ch/subdomains/test/httpdocs/concrete/core/controllers/single_pages/dashboard/system/backup_restore/backup.php on line 122
Thanks anyway for posting