Jump to content

Cloning a prestashop website onto an addon domain


Nathan_Pereira

Recommended Posts

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

 

  • Like 2
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...