Jump to content

Cloning a prestashop website onto an addon domain


Recommended Posts

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

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

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

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...