ToffeeApple Posted February 12, 2020 Share Posted February 12, 2020 Hi, I'm developing a shop for a customer and have it working as a subdirectory on my site (ie mysite.com/theirshop). This is great and all works fine. Now I need to move it to their domain, which is also part of my shared hosting. How is best to do this? I've copied all of the files from the directory on my domain to my local machine and am currently uploading them to the new domain however I have this feeling thats not going to work, starting to think the prestashop install may create links etc that won't update or directories in the root of the original server that won't be coming across. I cant take an actual backup of the shop through cpanel as that only take the full directory structure of mysite.com. Starting to wonder if I just reinstall prestashop from scratch on the new domain, then copy across the theme, reinstall required modules etc (only used free ones so far). The database of products contained test products so no loss there, I'd just need to copy across the users, categories etc. Am I missing something? Do people feel the simple movement of the whole directory will do it? Its about 20% through copying now. Link to comment Share on other sites More sharing options...
NemoPS Posted February 13, 2020 Share Posted February 13, 2020 Export the test database and import it on the new space. Zip the site up using the file manager, then you can use wget on the other site from the terminal to grab it. Unzip it, change the database connection to the new one. Go to the new database and change the ps_shop_url site's url to the new domain. This assumes that the live site's domain is already configured for the hosting. That's it, if you have any hardcoded links you have to change those manually of course Link to comment Share on other sites More sharing options...
ToffeeApple Posted February 13, 2020 Author Share Posted February 13, 2020 Just to update I found it easier to load a fresh install, add in my theme and load up modules, set up categories etc. Took about an hour or so but all is good now. 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