EssickAir Posted April 7, 2023 Share Posted April 7, 2023 So here is the set up. We started developing a new a site on a web server. The domain was dev.test.com for example. Well so that was set up on a different directory than "public_html". I'm running a multi-site tool where we are pointing a bunch of domains to that folder. But now we're trying to move the primary domain over, and it apparently has to point to "public_html" so how would one go about moving a processwire site to a different folder without killing the entire thing? Link to comment Share on other sites More sharing options...
wbmnfktr Posted April 7, 2023 Share Posted April 7, 2023 ProcessWire doesn't care what the folder is called it lives in. I could be just /var/www/ or /public_html/ or /home/user/_client/domain.tld/. There are a few things you really need to take care of: $config->httpHosts $config->db* and the whole database setup of course file/folder permissions https://processwire.com/docs/security/file-permissions/ take care of all .htaccess files, especially in the root You could just move all files by hand or use either ProcessExportProfile or Duplicator. Some even just use Git to move a ProcessWire instance around. It get's a bit more complicated in case you want to run ProcessWire inside a subfolder of another project. But there are different threads about this here in the forum. 2 Link to comment Share on other sites More sharing options...
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