How can I migrate my PrestaShop retailer to a brand new server?

How can I migrate my PrestaShop retailer to a brand new server?

Are you planning to migrate your PrestaShop to a brand new server that you simply suppose will supply higher companies?

This is likely one of the technical duties that each on-line retail store proprietor might face in some unspecified time in the future in his or her profession.

Migrating your PrestaShop retailer to a brand new server could be complicated, particularly if you’re making an attempt to do it your self with none actual information about it.

Migrating a store to a brand new server is definitely not very sophisticated, however you will want to keep in mind a sure variety of features and to observe the steps of the method in the best order in order to not encounter issues in your web site.

Here’s a little information that may provide help to migrate your web site to a different internet hosting service, as we’ve already completed within the weblog regarding migrating to version 1.7 on this platform.

What do I want to consider when migrating my on-line store to a different internet hosting service?

Initially, to maneuver your web site, you could observe these steps:

  • Set up the FTP shopper of your selection in your laptop to have the ability to join by way of FTP to the brand new and previous server. Should you encounter difficulties at this stage, it is best to contact the helpdesk of the hosting company in query and request the info you want.
  • Have an administrator account within the cPanel of your retailers, in each the previous and new server.
  • As well as, you could maintain an administrator account in your PrestaShops’ again workplaces, within the new one in addition to within the one hosted on the previous server.

Tips on how to migrate your PrestaShop to a different server, a step-by-step information

If in case you have adopted the above steps, the migration can lastly start!

Step 1: put your on-line store in upkeep mode

Test the PrestaShop version wherein the web retailer is positioned and put it in upkeep mode

It’s possible you’ll must replace the model your web site is presently operating on.

If you do not know the place to examine which model of PrestaShop your store is in, merely consult with the highest bar in your store’s again workplace.

As well as, though it’s not necessary, we advocate that you simply put the store in upkeep mode, in order that if somebody enters your website while you’re performing this operation, you’ll not lose knowledge when migrating your Prestashop retailer.

If in case you have a neighborhood web site, this step is just not obligatory, since your PrestaShop website is just not publicly out there on the Web.

Step 2: create a backup on the previous server

To take action, entry the management panel of the present (previous) server as an administrator, and easily search for the backup module that may permit you to rapidly generate a backup of your PrestaShop retailer.

You will see a number of backup modules on the official marketplace; these will make your work simpler and far sooner.

Back up modules Addons PrestaShop

Should you encounter issues at this stage, please contact the internet hosting firm’s help division. They are going to rapidly let you know what you could do and the place to go to do it.

After getting created the backup, obtain it to your laptop.

Don’t proceed to any a part of the migration of your PrestaShop retailer till you have got created a backup.

This fashion, if an issue happens in the course of the course of, you will not lose your web site.

Step 3: obtain the information out of your store to your laptop

First, obtain all of the information out of your PrestaShop on-line retailer to your laptop.

How do I do that?

Merely observe these steps. First, create a brand new folder in your desktop and connect with the FTP shopper of your selection, then connect with the present server by way of FTP.

How are you aware you have been profitable?

If the connection was profitable, it is best to see an inventory of folders within the right-hand part.

As soon as logged in, you will want to navigate to your public listing, higher often known as the public_html or htdocs folder, and open it.

Please remember that when you’ve got put in your store beneath a sub-directory (i.e. if it has a site formatted as: www. tuweb. com/retailer), you will want to seek for the corresponding listing and open it.

Choose all the information (ctrl+A/cmd+A) and drag them to the folder you created in your desktop to begin downloading them to your laptop.

This course of can take a couple of minutes, relying on the variety of information and their contents.

As soon as all the information have been downloaded out of your PrestaShop retailer, a notification will seem to tell you that the file switch is full.

Step 4: export your store’s database

export your shop's database

After getting transferred the information to your laptop, return to the present server’s cPanel and search for the phpMyAdmin module (phpMyAdmin is a software for database administration that’s written in PHP; it means that you can create, delete or modify SQL database knowledge).

As soon as opened, you can find an inventory of all of the out there databases on the left-hand aspect. Choose your present store’s database.

A listing of tables will then seem on the best.

Click on on “Export” to begin downloading your database.

Preserve the default choices chosen and proceed.

Your browser will then begin downloading a zipper file containing a duplicate of your PrestaShop database.

Step 5: Create a brand new database on the brand new server

Entry the brand new server’s management panel as an administrator, find the MySQLDatabaseWizard module and observe the steps to create a brand new database.

Select a reputation that clearly differs out of your previous Prestashop website’s database.

Step 6: import the database from the previous store to the brand new server

Find the phpMyAdmin module once more on the server.

Open it. You will see the record of obtainable databases within the panel on the left. Choose the one we created within the earlier step.

Click on on “Import” within the panel on the best and choose the file we downloaded in step 4.

You’ll obtain a notification when your PrestaShop database has been accurately imported.

Step 7: obtain the information out of your store to your server

Return to your FTP shopper and connect with the server of your selection.

Navigate to the public_html listing if you wish to set up your store within the website’s root folder. Should you want to put in it in a sub-folder (for instance www. tuweb. com/retailer), create the corresponding folder inside the general public listing and open it.

Drag the information out of your laptop (those we copied in step 3) and drop them within the corresponding listing on the brand new server.

Once more, this course of might take a couple of minutes.

Step 8: modify the config/settings.inc.php Prestashop information

Discover the config/settings.inc.php file in your FTP shopper, open it and edit the traces beneath.

This PHP file have to be up to date with the data offered by the internet hosting firm and the data we’ve chosen to set-up our PrestaShop program:

set-up our PrestaShop program

  • DB_SERVER: database server.
  • DB_NAME: title of the database (chosen in step 5).
  • DB_USER: the consumer related to the database.
  • DB_PASSWD: the consumer’s password.

Save the folder and add it to the server.

Step 9: examine the permissions/authorisations

Earlier than checking that the brand new store is working correctly, it’s essential to guarantee that the information and directories have the required permissions.

You must all the time confirm these authorisations along with your internet hosting supplier. As a basic rule, these authorisations are as follows:

File permissions: 664

Listing permissions: 755

If in case you have issues loading pictures, strive setting the permission to 777.

Step 10: Empty the cache

Ideally, it is best to empty your web page’s cache and pressure the web page to be listed once more to verify the whole lot is working correctly.

Please be aware that in the event you ignore this step, you may even see the info from the previous web page saved in your browser’s cache, and if an issue happens, errors won’t seem.

To accurately empty the cache, delete the contents of the folders /cache/smarty/compile and /chache/smarty/cache, apart from the index.php file in every of those folders.

Step 11: Deactivate upkeep mode

Entry your web site’s Prestashop again workplace and disable your store’s upkeep mode.

We then must enter our area to confirm that our web site is working correctly.

If so, the migration course of from Prestashop to a different internet hosting is accomplished. Your store is now out there in your new server.

Conclusion

Did you have got difficulties migrating your PrestaShop to a different internet hosting service?

I am positive that is not the case, as a result of as you possibly can see, though there are some moderately technical and delicate steps, it is typically not as sophisticated because it was once, particularly since you have got a number of particular modules to information you thru the method. You do not want any extremely technical information to do that.

I encourage you to strive with your personal on-line retailer!

Imagen principal By Freepik.

Source link

Leave a Reply

Your email address will not be published. Required fields are marked *