Transfering C5 sites
Permalink 1 user found helpful
If I have a C5 site already built on my server and need to transfer it to another server/domain. Does anyone know how I would go about doing this.
I have already tried copying the database tables to the new server then uploading all the files from site to the new domain. Then went into the site.php file and switched the database login info.
is there any other php files or anything in the database i would need to change. Or is there and easier way of doing this all together. I am somewhat new to working a CMS so any help would be much appreciated.
Thanks,
Paul Wood
I have already tried copying the database tables to the new server then uploading all the files from site to the new domain. Then went into the site.php file and switched the database login info.
is there any other php files or anything in the database i would need to change. Or is there and easier way of doing this all together. I am somewhat new to working a CMS so any help would be much appreciated.
Thanks,
Paul Wood
So if you site used to live athttp://localhost/ it probably looks like this in config/site.php
define('BASE_URL', 'http://localhost');
define('DIR_REL', '');
And if you were moving it tohttp://www.mynewserver.com/new/sub/path/... you'd have
define('BASE_URL', 'http://www.mynewserver.com');
define('DIR_REL', '/new/sub/path');
does that make sense?