franciccio-ITALIANO Posted May 28, 2017 Posted May 28, 2017 Hi, my site is in a subdomain. Now, I would like to move it in the primary domain of same site. Processwire is installed in both. Can I do this? If yes, how? It is simple? thanksssssssssssss!
Gideon So Posted May 28, 2017 Posted May 28, 2017 Hi, Do you mean that you want to merge two site into one? If yes, take a look on ProcessWire multi-instances support which enable you to load content from one site to the other. https://processwire.com/blog/posts/multi-instance-pw3/ Gideon So
franciccio-ITALIANO Posted May 29, 2017 Author Posted May 29, 2017 No I don't merge two site. I will delete the subdomain! Now, how I move the articles? Must I copy one by one, or I can copy all the database or swich it?
LostKobrakai Posted May 29, 2017 Posted May 29, 2017 Normally you simply copy all the files and the db over to their new location. Check the site/config.php to adjust the db credentials and you should be good to go. There's no need to install ProcessWire in the new location before that.
franciccio-ITALIANO Posted May 29, 2017 Author Posted May 29, 2017 ...Must I only cut-copy DB + Folders of the old site in new domain, setting config.php with new address?
Gideon So Posted May 29, 2017 Posted May 29, 2017 Simply edit your web server config file to point yourdomain.com to the directory that your subdomain.yourdomain.com reside. Then edit the config.php file in the sub-domain directory to change config.httpHost to yourdomain.com. Restart your web server. Done. Hope this helps. Gideon So 1
franciccio-ITALIANO Posted May 29, 2017 Author Posted May 29, 2017 ok I understand, I will try! thanksss
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now