The easiest way to transfer the site on same server

Permalink 1 user found helpful
Hi,

I have installed C5 on a domain for testing purposes.
Now i need to have the site running on real domain on the same server.

So basically i need to transfer it from testing folder to real folder.

Are there any easy steps for doing so?
What would happen if i just moved all contents of testing folder to real folder?

Thanks,

Mirko

Madebym
 
nteaviation replied on at Permalink Best Answer Reply
nteaviation
You need to make a new "live" database also. So, copy database, copy file structure to new location. Edit the config/site.php and fix the database settings, URL settings, etc... Leave PASSWORD_SALT as it!
define('DB_USERNAME', 'xxxxxx'); # May need to change
define('DB_PASSWORD', 'xxxxxx'); # May need to change
define('DB_DATABASE', 'xxxxxx'); # Must change
define('BASE_URL', 'http://www.mydomain.com'); # Must change
define('DIR_REL', '/'); # May change
define('PASSWORD_SALT', 'my48TnrRRV4zwThrb3g1VXcoodlm(8kje9r9eVmzsL2fOlM2kfrvHjTHDQ0ZZWj037fBi'); # DO NOT CHANGE!
Madebym replied on at Permalink Reply
Madebym
Thanks! Worked like a charm.
nteaviation replied on at Permalink Reply
nteaviation
Sweet! Sometimes I get lucky :)
ScottC replied on at Permalink Reply
ScottC
you can also leave out BASE_URL and DIR_REL with new versions of concrete5.
ScottC replied on at Permalink Reply
ScottC
maybe not dir_Rel i never use it.
cainKuri replied on at Permalink Reply
cainKuri
in this example and the one one do a coment below (You may want to look at this:http://www.concrete5.org/documentation/installation/moving_a_site..... )
no one say that you have to install Concrete5... do you have to do that again ?... or just copy the files is all done ?...

thank you so much ! :D
nteaviation replied on at Permalink Reply
nteaviation