{"id":4558,"date":"2017-05-11T09:14:34","date_gmt":"2017-05-11T08:14:34","guid":{"rendered":"https:\/\/www.utilewebsites.nl\/knowledgebase\/wordpress-migrating-to-another-server-and-or-setting-up-test-environment\/"},"modified":"2017-05-11T09:14:34","modified_gmt":"2017-05-11T08:14:34","slug":"wordpress-migrating-to-another-server-and-or-setting-up-test-environment","status":"publish","type":"wz_knowledgebase","link":"https:\/\/www.utilewebsites.nl\/en\/knowledgebase\/wordpress-migrating-to-another-server-and-or-setting-up-test-environment\/","title":{"rendered":"WordPress migrating to another server and\/or setting up test environment"},"content":{"rendered":"<p>  In most projects, it is wise to work from the OTAP method (Development, Test, Acceptance and Production). How to quickly put a copy on another server (and domain) from the development environment. There are, of course, several methods for migrating. Here below we describe 1 .<\/p>\n<p>WordPress rapid migration :<\/p>\n<ul>\n<li>1. Download all files (that are e.g. in public_html or private_html) with an ftp program. You can use the free ftp program filezilla for this purpose : <a href=\"https:\/\/filezilla-project.org\/\" target=\"_blank\" rel=\"noopener noreferrer\">https:\/\/filezilla-project.org\/<\/a><\/li>\n<li>2. Back up the database. This can be done through phpmyadmin. Only if you have a large database then it is recommended to use another program for this purpose (There are numerous programs available. E.g.<a href=\"https:\/\/www.navicat.com\/products\/navicat-for-mysql\" target=\"_blank\" rel=\"noopener noreferrer\"> Navicat for mysql<\/a>, <a href=\"https:\/\/www.mysql.com\/products\/workbench\/\" target=\"_blank\" rel=\"noopener noreferrer\">MySQL Workbench<\/a> etc.. or the free script <a href=\"http:\/\/www.ozerov.de\/bigdump\/\" target=\"_blank\" rel=\"noopener noreferrer\">BigDump<\/a>)<\/li>\n<li>3. Upload the files to your new server (and domain) using the ftp program. In most cases this is the same folder (e.g. public_html or private_html)<\/li>\n<li>4. Import the database on your new server<\/li>\n<li>5. In the wp-config.php file, modify the database information\n<pre> \n\/** The name of the database for WordPress *\/\ndefine('DB_NAME', '<span style=\"color: #ff0000;\">NIEUWEDATABASENAAM<\/span>');\n\/** MySQL database username *\/\ndefine('DB_USER', '<span style=\"color: #ff0000;\">NIEUWEGEBRUIKERSNAAM<\/span>');\n\/** MySQL database password *\/\ndefine('DB_PASSWORD', '<span style=\"color: #ff0000;\">NIEUWWACHTWOOR<\/span>D');\n\/** MySQL hostname *\/\ndefine('DB_HOST', 'localhost');\n<\/pre>\n<\/li>\n<li>6. In the database in table wp_options, adjust the value of siteurl with the new domain. (https:\/\/www.oudedomein2016.nl to e.g. new https:\/\/www.nieuwedomein2017.nl)<\/li>\n<li>7. You can now log in to the backend of your website<\/li>\n<li>8. In some cases, certain reference to the old domain in the content and\/or media files should be replaced with the new domain. You can use this plugin for this purpose :<a href=\"https:\/\/nl.wordpress.org\/plugins\/search-and-replace\/\" target=\"_blank\" rel=\"noopener noreferrer\"> https:\/\/nl.wordpress.org\/plugins\/search-and-replace\/<\/a><\/li>\n<li>9. Should some plugins use a root reference, you should adjust this in many cases you can deactivate this plugin and reactivate it again. This will usually automatically update the new root reference.<\/li>\n<li>10. Other obstacles may be certain directory permissions (cache\/upload) that you may still need to adjust when they are uploaded on your new server.<\/li>\n<\/ul>\n<hr>\n<p>Do you need help? If so, please <span style=\"color: #0000ff;\"><br \/>\n  <a style=\"color: #0000ff;\" href=\"https:\/\/www.utilewebsites.nl\/contact\/\">contact<\/a><br \/>\n<\/span> with us. We are happy to help you.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In most projects, it is wise to work from the OTAP method (Development, Test, Acceptance and Production). How to quickly put a copy on another server (and domain) from the development environment. There are, of course, several methods for migrating. Here below we describe 1 . WordPress rapid migration : 1. Download all files (that are e.g. in public_html or private_html) with an ftp program. You can use the free ftp program filezilla for this purpose : https:\/\/filezilla-project.org\/ 2. Back up the database. This can be done through phpmyadmin. Only if you have a large database then it is recommended&nbsp;<a href=\"https:\/\/www.utilewebsites.nl\/en\/knowledgebase\/wordpress-migrating-to-another-server-and-or-setting-up-test-environment\/\" class=\"read-more\">Continue Reading<\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"wzkb_category":[63],"wzkb_tag":[],"class_list":["post-4558","wz_knowledgebase","type-wz_knowledgebase","status-publish","hentry","wzkb_category-themas"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Wordpress migrating to another server and\/or setting up test environment - Utilewebsites<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.utilewebsites.nl\/en\/knowledgebase\/wordpress-migrating-to-another-server-and-or-setting-up-test-environment\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Wordpress migrating to another server and\/or setting up test environment - Utilewebsites\" \/>\n<meta property=\"og:description\" content=\"In most projects, it is wise to work from the OTAP method (Development, Test, Acceptance and Production). How to quickly put a copy on another server (and domain) from the development environment. There are, of course, several methods for migrating. Here below we describe 1 . WordPress rapid migration : 1. Download all files (that are e.g. in public_html or private_html) with an ftp program. You can use the free ftp program filezilla for this purpose : https:\/\/filezilla-project.org\/ 2. Back up the database. This can be done through phpmyadmin. Only if you have a large database then it is recommended&nbsp;Continue Reading\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.utilewebsites.nl\/en\/knowledgebase\/wordpress-migrating-to-another-server-and-or-setting-up-test-environment\/\" \/>\n<meta property=\"og:site_name\" content=\"Utilewebsites\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.utilewebsites.nl\\\/en\\\/knowledgebase\\\/wordpress-migrating-to-another-server-and-or-setting-up-test-environment\\\/\",\"url\":\"https:\\\/\\\/www.utilewebsites.nl\\\/en\\\/knowledgebase\\\/wordpress-migrating-to-another-server-and-or-setting-up-test-environment\\\/\",\"name\":\"Wordpress migrating to another server and\\\/or setting up test environment - Utilewebsites\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.utilewebsites.nl\\\/en\\\/#website\"},\"datePublished\":\"2017-05-11T08:14:34+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.utilewebsites.nl\\\/en\\\/knowledgebase\\\/wordpress-migrating-to-another-server-and-or-setting-up-test-environment\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.utilewebsites.nl\\\/en\\\/knowledgebase\\\/wordpress-migrating-to-another-server-and-or-setting-up-test-environment\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.utilewebsites.nl\\\/en\\\/knowledgebase\\\/wordpress-migrating-to-another-server-and-or-setting-up-test-environment\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.utilewebsites.nl\\\/en\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Knowledge Base\",\"item\":\"https:\\\/\\\/www.utilewebsites.nl\\\/en\\\/knowledgebase\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"WordPress migrating to another server and\\\/or setting up test environment\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.utilewebsites.nl\\\/en\\\/#website\",\"url\":\"https:\\\/\\\/www.utilewebsites.nl\\\/en\\\/\",\"name\":\"Utilewebsites\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.utilewebsites.nl\\\/en\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.utilewebsites.nl\\\/en\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.utilewebsites.nl\\\/en\\\/#organization\",\"name\":\"Utilewebsites\",\"url\":\"https:\\\/\\\/www.utilewebsites.nl\\\/en\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.utilewebsites.nl\\\/en\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.utilewebsites.nl\\\/wp-content\\\/uploads\\\/2019\\\/08\\\/logo-Utilewebsites-2017.png\",\"contentUrl\":\"https:\\\/\\\/www.utilewebsites.nl\\\/wp-content\\\/uploads\\\/2019\\\/08\\\/logo-Utilewebsites-2017.png\",\"width\":3000,\"height\":593,\"caption\":\"Utilewebsites\"},\"image\":{\"@id\":\"https:\\\/\\\/www.utilewebsites.nl\\\/en\\\/#\\\/schema\\\/logo\\\/image\\\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Wordpress migrating to another server and\/or setting up test environment - Utilewebsites","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:\/\/www.utilewebsites.nl\/en\/knowledgebase\/wordpress-migrating-to-another-server-and-or-setting-up-test-environment\/","og_locale":"en_US","og_type":"article","og_title":"Wordpress migrating to another server and\/or setting up test environment - Utilewebsites","og_description":"In most projects, it is wise to work from the OTAP method (Development, Test, Acceptance and Production). How to quickly put a copy on another server (and domain) from the development environment. There are, of course, several methods for migrating. Here below we describe 1 . WordPress rapid migration : 1. Download all files (that are e.g. in public_html or private_html) with an ftp program. You can use the free ftp program filezilla for this purpose : https:\/\/filezilla-project.org\/ 2. Back up the database. This can be done through phpmyadmin. Only if you have a large database then it is recommended&nbsp;Continue Reading","og_url":"https:\/\/www.utilewebsites.nl\/en\/knowledgebase\/wordpress-migrating-to-another-server-and-or-setting-up-test-environment\/","og_site_name":"Utilewebsites","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.utilewebsites.nl\/en\/knowledgebase\/wordpress-migrating-to-another-server-and-or-setting-up-test-environment\/","url":"https:\/\/www.utilewebsites.nl\/en\/knowledgebase\/wordpress-migrating-to-another-server-and-or-setting-up-test-environment\/","name":"Wordpress migrating to another server and\/or setting up test environment - Utilewebsites","isPartOf":{"@id":"https:\/\/www.utilewebsites.nl\/en\/#website"},"datePublished":"2017-05-11T08:14:34+00:00","breadcrumb":{"@id":"https:\/\/www.utilewebsites.nl\/en\/knowledgebase\/wordpress-migrating-to-another-server-and-or-setting-up-test-environment\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.utilewebsites.nl\/en\/knowledgebase\/wordpress-migrating-to-another-server-and-or-setting-up-test-environment\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.utilewebsites.nl\/en\/knowledgebase\/wordpress-migrating-to-another-server-and-or-setting-up-test-environment\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.utilewebsites.nl\/en\/"},{"@type":"ListItem","position":2,"name":"Knowledge Base","item":"https:\/\/www.utilewebsites.nl\/en\/knowledgebase\/"},{"@type":"ListItem","position":3,"name":"WordPress migrating to another server and\/or setting up test environment"}]},{"@type":"WebSite","@id":"https:\/\/www.utilewebsites.nl\/en\/#website","url":"https:\/\/www.utilewebsites.nl\/en\/","name":"Utilewebsites","description":"","publisher":{"@id":"https:\/\/www.utilewebsites.nl\/en\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.utilewebsites.nl\/en\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.utilewebsites.nl\/en\/#organization","name":"Utilewebsites","url":"https:\/\/www.utilewebsites.nl\/en\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.utilewebsites.nl\/en\/#\/schema\/logo\/image\/","url":"https:\/\/www.utilewebsites.nl\/wp-content\/uploads\/2019\/08\/logo-Utilewebsites-2017.png","contentUrl":"https:\/\/www.utilewebsites.nl\/wp-content\/uploads\/2019\/08\/logo-Utilewebsites-2017.png","width":3000,"height":593,"caption":"Utilewebsites"},"image":{"@id":"https:\/\/www.utilewebsites.nl\/en\/#\/schema\/logo\/image\/"}}]}},"_links":{"self":[{"href":"https:\/\/www.utilewebsites.nl\/en\/wp-json\/wp\/v2\/wz_knowledgebase\/4558","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.utilewebsites.nl\/en\/wp-json\/wp\/v2\/wz_knowledgebase"}],"about":[{"href":"https:\/\/www.utilewebsites.nl\/en\/wp-json\/wp\/v2\/types\/wz_knowledgebase"}],"author":[{"embeddable":true,"href":"https:\/\/www.utilewebsites.nl\/en\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.utilewebsites.nl\/en\/wp-json\/wp\/v2\/comments?post=4558"}],"version-history":[{"count":0,"href":"https:\/\/www.utilewebsites.nl\/en\/wp-json\/wp\/v2\/wz_knowledgebase\/4558\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.utilewebsites.nl\/en\/wp-json\/wp\/v2\/media?parent=4558"}],"wp:term":[{"taxonomy":"wzkb_category","embeddable":true,"href":"https:\/\/www.utilewebsites.nl\/en\/wp-json\/wp\/v2\/wzkb_category?post=4558"},{"taxonomy":"wzkb_tag","embeddable":true,"href":"https:\/\/www.utilewebsites.nl\/en\/wp-json\/wp\/v2\/wzkb_tag?post=4558"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}