{"id":67462,"date":"2016-12-12T08:06:11","date_gmt":"2016-12-12T08:06:11","guid":{"rendered":"http:\/\/webkul.com\/blog\/?p=67462"},"modified":"2016-12-12T08:06:11","modified_gmt":"2016-12-12T08:06:11","slug":"move-prestashop-to-new-server","status":"publish","type":"post","link":"https:\/\/webkul.com\/blog\/move-prestashop-to-new-server\/","title":{"rendered":"How to move Prestashop to new Server?"},"content":{"rendered":"<p>In this blog, you will know how to move PrestaShop from one server to another new server<\/p>\n<div class=\"panel panel-primary\">\n<div class=\"panel-heading\">\n<div>\n<h3 class=\"panel-title\">Step 1 : Safety First<\/h3>\n<\/div>\n<\/div>\n<div class=\"panel-body\">For safety,\u00a0take backup of all PrestaShop files and its database.<\/div>\n<\/div>\n<p>&nbsp;<\/p>\n<div class=\"panel panel-primary\">\n<div class=\"panel-heading\">\n<div>\n<h3 class=\"panel-title\">STEP 2 : Move all prestashop files to new server<\/h3>\n<\/div>\n<\/div>\n<div class=\"panel-body\">\n<div>Move all files of PrestaShop from old server to new server<br \/>\n<span style=\"color: #ff0000\">Note :: Make sure <strong>.htaccess<\/strong> file in the main folder is also moved to new server<\/span><\/div>\n<\/div>\n<\/div>\n<p>&nbsp;<\/p>\n<div class=\"panel panel-primary\">\n<div class=\"panel-heading\">\n<div>\n<h3 class=\"panel-title\">Step 3 : Move Database to new server<\/h3>\n<\/div>\n<\/div>\n<div class=\"panel-body\">\n<div>Download database from old server using export button and import it on new server<\/div>\n<\/div>\n<\/div>\n<p>&nbsp;<\/p>\n<div class=\"panel panel-primary\">\n<div class=\"panel-heading\">\n<div>\n<h3 class=\"panel-title\">Step 4 : Changes in database tables<\/h3>\n<\/div>\n<\/div>\n<div class=\"panel-body\"><strong>ps_shop_url<\/strong> : Enter new domain values in &#8220;domain&#8221;, &#8220;domain_ssl&#8221;, &#8220;physical_uri&#8221; columns<br \/>\n<span style=\"color: #ff0000\"><span style=\"color: #ff0000\">Note :: if you pull all PrestaShop files in server main folder then value of &#8220;physical_uri&#8221; is &#8216;\/&#8217; or if you put all files in particular folder like &#8220;production&#8221; then in this case value of &#8220;physical_uri&#8221; is &#8216;\/production\/&#8217; \u00a0<\/span><\/span><span style=\"color: #ff0000\"><span style=\"color: #ff0000\"><br \/>\n<\/span><\/span><strong>ps_configuration<\/strong> : Enter values according to &#8220;PS_SHOP_DOMAIN&#8221;, &#8220;PS_SHOP_DOMAIN_SSL&#8221; according to the new server.<br \/>\n<strong>ps_pagenotfound<\/strong> : change values of &#8220;request_uri&#8221;, &#8220;http_referer&#8221; columns according to the new server.<\/div>\n<\/div>\n<p>&nbsp;<\/p>\n<div class=\"panel panel-primary\">\n<div class=\"panel-heading\">\n<div>\n<h3 class=\"panel-title\">STEP 5 : Changes in prestashop Files<\/h3>\n<\/div>\n<\/div>\n<div class=\"panel-body\">\n<div>\n<p><strong>\u21d2<\/strong> Set values of\u00a0<strong>_DB_SERVER_<\/strong> , <strong>_DB_NAME_<\/strong> , <strong>_DB_USER_<\/strong> , <strong>_DB_PASSWD_<\/strong> variables\u00a0according to new server database configuration. These variables are present in\u00a0<strong>settings.inc.php<\/strong> file\u00a0of <strong>&#8220;config&#8221;<\/strong> directory<\/p>\n<pre class=\"brush:php\">define('_DB_SERVER_', '<em>SERVER NAME<\/em>');\r\ndefine('_DB_NAME_', '<em>DATABASE NAME<\/em>');\r\ndefine('_DB_USER_', '<em>DATABASE USERNAME<\/em>');\r\ndefine('_DB_PASSWD_', '<em>DATABASE PASSWORD<\/em>');<\/pre>\n<p><strong>\u21d2<\/strong>\u00a0Below shows you the changes in .htaccess file present in the\u00a0main folder.<\/p>\n<ul>\n<li>RewriteRule . &#8211; [E=REWRITEBASE:\/<strong><em>physical_uri<\/em><\/strong>\/]<\/li>\n<li>ErrorDocument 404 \/<strong><em>physical_uri<\/em><\/strong>\/index.php?controller=404<\/li>\n<\/ul>\n<\/div>\n<\/div>\n<\/div>\n<p>By following all the above steps you will move your PrestaShop from one server to another.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this blog, you will know how to move PrestaShop from one server to another new server Step 1 : Safety First For safety,\u00a0take backup of all PrestaShop files and its database. &nbsp; STEP 2 : Move all prestashop files to new server Move all files of PrestaShop from old server to new server Note <a href=\"https:\/\/webkul.com\/blog\/move-prestashop-to-new-server\/\">[&#8230;]<\/a><\/p>\n","protected":false},"author":84,"featured_media":67446,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[13,209],"tags":[4127,2065],"class_list":["post-67462","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-php","category-prestashop","tag-change-prestashop-domain","tag-prestashop"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to move Prestashop to new Server? - Webkul Blog<\/title>\n<meta name=\"description\" content=\"How to move PrestaShop from one server to another\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/webkul.com\/blog\/move-prestashop-to-new-server\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to move Prestashop to new Server? - Webkul Blog\" \/>\n<meta property=\"og:description\" content=\"How to move PrestaShop from one server to another\" \/>\n<meta property=\"og:url\" content=\"https:\/\/webkul.com\/blog\/move-prestashop-to-new-server\/\" \/>\n<meta property=\"og:site_name\" content=\"Webkul Blog\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/webkul\/\" \/>\n<meta property=\"article:published_time\" content=\"2016-12-12T08:06:11+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/12\/Blog-image.png\" \/>\n\t<meta property=\"og:image:width\" content=\"825\" \/>\n\t<meta property=\"og:image:height\" content=\"260\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Rohit\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@webkul\" \/>\n<meta name=\"twitter:site\" content=\"@webkul\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Rohit\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/webkul.com\/blog\/move-prestashop-to-new-server\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/webkul.com\/blog\/move-prestashop-to-new-server\/\"},\"author\":{\"name\":\"Rohit\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/person\/250b9e4eddee9efbde8d1551cbc7a25e\"},\"headline\":\"How to move Prestashop to new Server?\",\"datePublished\":\"2016-12-12T08:06:11+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/webkul.com\/blog\/move-prestashop-to-new-server\/\"},\"wordCount\":266,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/webkul.com\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/webkul.com\/blog\/move-prestashop-to-new-server\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/12\/Blog-image.png\",\"keywords\":[\"Change Prestashop Domain\",\"prestashop\"],\"articleSection\":[\"php\",\"prestashop\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/webkul.com\/blog\/move-prestashop-to-new-server\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/webkul.com\/blog\/move-prestashop-to-new-server\/\",\"url\":\"https:\/\/webkul.com\/blog\/move-prestashop-to-new-server\/\",\"name\":\"How to move Prestashop to new Server? - Webkul Blog\",\"isPartOf\":{\"@id\":\"https:\/\/webkul.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/webkul.com\/blog\/move-prestashop-to-new-server\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/webkul.com\/blog\/move-prestashop-to-new-server\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/12\/Blog-image.png\",\"datePublished\":\"2016-12-12T08:06:11+00:00\",\"description\":\"How to move PrestaShop from one server to another\",\"breadcrumb\":{\"@id\":\"https:\/\/webkul.com\/blog\/move-prestashop-to-new-server\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/webkul.com\/blog\/move-prestashop-to-new-server\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/webkul.com\/blog\/move-prestashop-to-new-server\/#primaryimage\",\"url\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/12\/Blog-image.png\",\"contentUrl\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/12\/Blog-image.png\",\"width\":825,\"height\":260},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/webkul.com\/blog\/move-prestashop-to-new-server\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/webkul.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to move Prestashop to new Server?\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/webkul.com\/blog\/#website\",\"url\":\"https:\/\/webkul.com\/blog\/\",\"name\":\"Webkul Blog\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/webkul.com\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/webkul.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/webkul.com\/blog\/#organization\",\"name\":\"WebKul Software Private Limited\",\"url\":\"https:\/\/webkul.com\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/08\/webkul-logo-accent-sq.png\",\"contentUrl\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/08\/webkul-logo-accent-sq.png\",\"width\":380,\"height\":380,\"caption\":\"WebKul Software Private Limited\"},\"image\":{\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/webkul\/\",\"https:\/\/x.com\/webkul\",\"https:\/\/www.instagram.com\/webkul\/\",\"https:\/\/www.linkedin.com\/company\/webkul\",\"https:\/\/www.youtube.com\/user\/webkul\/\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/person\/250b9e4eddee9efbde8d1551cbc7a25e\",\"name\":\"Rohit\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/0392b77e15ab90ff8aca35e6f9fed66a273cbafb6c0aa7371c79987f6f086a74?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Fmike.png&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/0392b77e15ab90ff8aca35e6f9fed66a273cbafb6c0aa7371c79987f6f086a74?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Fmike.png&r=g\",\"caption\":\"Rohit\"},\"url\":\"https:\/\/webkul.com\/blog\/author\/rohit053\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to move Prestashop to new Server? - Webkul Blog","description":"How to move PrestaShop from one server to another","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/webkul.com\/blog\/move-prestashop-to-new-server\/","og_locale":"en_US","og_type":"article","og_title":"How to move Prestashop to new Server? - Webkul Blog","og_description":"How to move PrestaShop from one server to another","og_url":"https:\/\/webkul.com\/blog\/move-prestashop-to-new-server\/","og_site_name":"Webkul Blog","article_publisher":"https:\/\/www.facebook.com\/webkul\/","article_published_time":"2016-12-12T08:06:11+00:00","og_image":[{"width":825,"height":260,"url":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/12\/Blog-image.png","type":"image\/png"}],"author":"Rohit","twitter_card":"summary_large_image","twitter_creator":"@webkul","twitter_site":"@webkul","twitter_misc":{"Written by":"Rohit","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/webkul.com\/blog\/move-prestashop-to-new-server\/#article","isPartOf":{"@id":"https:\/\/webkul.com\/blog\/move-prestashop-to-new-server\/"},"author":{"name":"Rohit","@id":"https:\/\/webkul.com\/blog\/#\/schema\/person\/250b9e4eddee9efbde8d1551cbc7a25e"},"headline":"How to move Prestashop to new Server?","datePublished":"2016-12-12T08:06:11+00:00","mainEntityOfPage":{"@id":"https:\/\/webkul.com\/blog\/move-prestashop-to-new-server\/"},"wordCount":266,"commentCount":0,"publisher":{"@id":"https:\/\/webkul.com\/blog\/#organization"},"image":{"@id":"https:\/\/webkul.com\/blog\/move-prestashop-to-new-server\/#primaryimage"},"thumbnailUrl":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/12\/Blog-image.png","keywords":["Change Prestashop Domain","prestashop"],"articleSection":["php","prestashop"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/webkul.com\/blog\/move-prestashop-to-new-server\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/webkul.com\/blog\/move-prestashop-to-new-server\/","url":"https:\/\/webkul.com\/blog\/move-prestashop-to-new-server\/","name":"How to move Prestashop to new Server? - Webkul Blog","isPartOf":{"@id":"https:\/\/webkul.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/webkul.com\/blog\/move-prestashop-to-new-server\/#primaryimage"},"image":{"@id":"https:\/\/webkul.com\/blog\/move-prestashop-to-new-server\/#primaryimage"},"thumbnailUrl":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/12\/Blog-image.png","datePublished":"2016-12-12T08:06:11+00:00","description":"How to move PrestaShop from one server to another","breadcrumb":{"@id":"https:\/\/webkul.com\/blog\/move-prestashop-to-new-server\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/webkul.com\/blog\/move-prestashop-to-new-server\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/webkul.com\/blog\/move-prestashop-to-new-server\/#primaryimage","url":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/12\/Blog-image.png","contentUrl":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/12\/Blog-image.png","width":825,"height":260},{"@type":"BreadcrumbList","@id":"https:\/\/webkul.com\/blog\/move-prestashop-to-new-server\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/webkul.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How to move Prestashop to new Server?"}]},{"@type":"WebSite","@id":"https:\/\/webkul.com\/blog\/#website","url":"https:\/\/webkul.com\/blog\/","name":"Webkul Blog","description":"","publisher":{"@id":"https:\/\/webkul.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/webkul.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/webkul.com\/blog\/#organization","name":"WebKul Software Private Limited","url":"https:\/\/webkul.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/webkul.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/08\/webkul-logo-accent-sq.png","contentUrl":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/08\/webkul-logo-accent-sq.png","width":380,"height":380,"caption":"WebKul Software Private Limited"},"image":{"@id":"https:\/\/webkul.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/webkul\/","https:\/\/x.com\/webkul","https:\/\/www.instagram.com\/webkul\/","https:\/\/www.linkedin.com\/company\/webkul","https:\/\/www.youtube.com\/user\/webkul\/"]},{"@type":"Person","@id":"https:\/\/webkul.com\/blog\/#\/schema\/person\/250b9e4eddee9efbde8d1551cbc7a25e","name":"Rohit","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/webkul.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/0392b77e15ab90ff8aca35e6f9fed66a273cbafb6c0aa7371c79987f6f086a74?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Fmike.png&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/0392b77e15ab90ff8aca35e6f9fed66a273cbafb6c0aa7371c79987f6f086a74?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Fmike.png&r=g","caption":"Rohit"},"url":"https:\/\/webkul.com\/blog\/author\/rohit053\/"}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/67462","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/users\/84"}],"replies":[{"embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/comments?post=67462"}],"version-history":[{"count":7,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/67462\/revisions"}],"predecessor-version":[{"id":67591,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/67462\/revisions\/67591"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/media\/67446"}],"wp:attachment":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/media?parent=67462"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/categories?post=67462"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/tags?post=67462"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}