Nathan_Pereira Posted May 12 Share Posted May 12 Hi Guys, i have a prestashop website and its version is 1.7.6.4. What i want to do is clone the entire website to an addon domain. If anyone could guide me with the steps or procedure on how to do it, it would be kindly appreciated Regards, Nathan Link to comment Share on other sites More sharing options...
ComGrafPL Posted May 12 Share Posted May 12 You mean on other domain, right? Copy files, export database and change detail in database to new domain. You should be fine. Link to comment Share on other sites More sharing options...
Nathan_Pereira Posted May 14 Author Share Posted May 14 On 5/12/2024 at 8:23 PM, ComGrafPL said: You mean on other domain, right? Copy files, export database and change detail in database to new domain. You should be fine. yes would u provide me the steps on how to do it Link to comment Share on other sites More sharing options...
Nathan_Pereira Posted May 14 Author Share Posted May 14 Just now, Nathan_Pereira said: yes would u provide me the steps on how to do it because I tried twice but it gives me a blank page Link to comment Share on other sites More sharing options...
ComGrafPL Posted May 14 Share Posted May 14 Have you cleared cache in VAR folder? Link to comment Share on other sites More sharing options...
Nathan_Pereira Posted May 14 Author Share Posted May 14 yes I did Link to comment Share on other sites More sharing options...
ComGrafPL Posted May 14 Share Posted May 14 Hard to say. Folder structure are correct? public_html/ etc? Link to comment Share on other sites More sharing options...
Nathan_Pereira Posted May 14 Author Share Posted May 14 yeah. Is there a way to move the files properly? And is it just the public_html file that has to be moved right? Link to comment Share on other sites More sharing options...
Nathan_Pereira Posted May 14 Author Share Posted May 14 Just now, Nathan_Pereira said: yeah. Is there a way to move the files properly? And is it just the public_html file that has to be moved right? also would cloning the website to make it live affect the initial website? Link to comment Share on other sites More sharing options...
Nathan_Pereira Posted May 14 Author Share Posted May 14 This is the error i get Link to comment Share on other sites More sharing options...
Nathan_Pereira Posted May 21 Author Share Posted May 21 any help guys? Link to comment Share on other sites More sharing options...
Luisejo Posted May 21 Share Posted May 21 Hello Nathan, To clone your PrestaShop 1.7.6.4 website to an addon domain, you need to follow these steps: 1. Backup Your Website: Download all your website files using FTP/SFTP or the File Manager in your hosting control panel. Export your database using phpMyAdmin. 2. Set Up the Addon Domain: Add the new domain via your hosting control panel (e.g., cPanel). Note the document root for this domain. 3. Upload Files: Upload the backed-up files to the document root of your addon domain. 4. Create a New Database: Create a new database and user in your hosting control panel. Import your database backup into this new database via phpMyAdmin. 5. Update Configuration: Edit the parameters.php file in app/config to update the database details. 'database_host' => 'localhost', 'database_port' => '', 'database_name' => 'new_database_name', 'database_user' => 'new_database_user', 'database_password' => 'new_database_password', In phpMyAdmin, update the ps_shop_url table with the new domain information. 6. Clear Cache and Set Permissions: Delete the contents of the var/cache directory. Ensure directories have 755 permissions and files have 644 permissions. 7. Test the New Site: Visit your addon domain to ensure everything is working properly. Check that all links, images, and functionalities like the cart and checkout are functioning correctly. If you have any issues, feel free to reach out for further assistance. Luis 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