{"id":54,"date":"2020-02-12T10:36:19","date_gmt":"2020-02-12T10:36:19","guid":{"rendered":"https:\/\/www.lcn.com\/support\/knowledge-base\/how-to-move-your-wordpress-website\/"},"modified":"2021-05-21T15:01:11","modified_gmt":"2021-05-21T15:01:11","slug":"how-to-move-your-wordpress-website","status":"publish","type":"ht_kb","link":"https:\/\/www.lcn.com\/support\/articles\/how-to-move-your-wordpress-website\/","title":{"rendered":"How to move your WordPress website"},"content":{"rendered":"\n<p>This guide will explain how to move your WordPress website. For customers using LCN.com <a href=\"https:\/\/www.lcn.com\/web-hosting\" target=\"_blank\" rel=\"noopener noreferrer\">web hosting<\/a> or <a href=\"https:\/\/www.lcn.com\/web-hosting\/wordpress\" target=\"_blank\" rel=\"noopener noreferrer\">WordPress hosting<\/a>.<\/p>\n\n\n\n<p>If you\u2019re looking to move your WordPress website from another web hosting provider to LCN.com. You\u2019ll need to get a copy of your web and database files from your current hosting provider.<\/p>\n\n\n\n<p>Let\u2019s get started\u2026<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Moving WordPress to LCN.com web hosting<\/h3>\n\n\n\n<ol class=\"step_by_step wp-block-list\"><li>Add your domain to your LCN.com web hosting.<\/li><li>Create a new MYSQL database in your <a href=\"https:\/\/login.lcn.com\/login\" target=\"_blank\" rel=\"noopener noreferrer\">LCN.com account<\/a>. If you\u2019re unsure how to do this, we\u2019ve got a handy guide <a href=\"https:\/\/www.lcn.com\/support\/articles\/how-to-create-a-mysql-database\/\" target=\"_blank\" rel=\"noopener noreferrer\">here<\/a><\/li><li>Once this is setup you\u2019ll need to import the copy of your WordPress database via PHPMyAdmin. You can reach the login by going to <em>http:\/\/yourdomain.co.uk\/mysqladmin.\u00a0<\/em>Replace\u00a0<em>yourdomain.co.uk\u00a0<\/em>with your domain. Or go directly to <a href=\"https:\/\/www.mydbadmin.co.uk\/index.php\">https:\/\/www.mydbadmin.co.uk\/index.php<\/a><\/li><\/ol>\n\n\n\n<p><video autoplay=\"autoplay\" loop=\"loop\" controls=\"controls\" width=\"100%\" height=\"100%\"><source src=\"\/support\/articles\/attachment\/486\/inline\/original\/1470125459\/ImportingDatabase.mp4\" type=\"video\/mp4\">Your browser does not support the video tag.<\/video><\/p>\n\n\n\n<ol start=\"4\" class=\"step_by_step wp-block-list\"><li>Now your database is ready to go, you\u2019ll need to upload your WordPress files to the <strong>web<\/strong> folder on your LCN.com web hosting. This will need to be done using an FTP client such as \u201cFilezilla\u201d.<\/li><\/ol>\n\n\n\n<p><video autoplay=\"autoplay\" loop=\"loop\" controls=\"controls\" width=\"100%\" height=\"100%\"><source src=\"\/support\/articles\/attachment\/488\/inline\/original\/1470125495\/UploadWordPressFiles.mp4\" type=\"video\/mp4\">Your browser does not support the video tag.<\/video><\/p>\n\n\n\n<ol start=\"5\" class=\"step_by_step wp-block-list\"><li>Once the upload is complete, you\u2019ll need to edit the following sections of your WordPress <strong>wp-config.php<\/strong> file to link your WordPress files the database you set up earlier.\n<ul>\n<li>define(&#8216;DB_NAME&#8217;, \u2018<strong>enter database name<\/strong>\u2019);<\/li>\n<li>define(&#8216;DB_USER&#8217;, \u2018<strong>enter database username<\/strong>\u2019);<\/li>\n<li>define(&#8216;DB_PASSWORD&#8217;, \u2018<strong>enter database password<\/strong>\u2019);<\/li>\n<li>define(&#8216;DB_HOST&#8217;, &#8216;<strong>enter database hostname<\/strong> &#8216;);<\/li>\n<\/ul>\n<\/li><\/ol>\n\n\n\n<p><video autoplay=\"autoplay\" loop=\"loop\" controls=\"controls\" width=\"100%\" height=\"100%\"><source src=\"\/support\/articles\/attachment\/487\/inline\/original\/1470125479\/ChangeWPConfig.mp4 \" type=\"video\/mp4\">Your browser does not support the video tag.<\/video><\/p>\n\n\n\n<ol start=\"6\" class=\"step_by_step wp-block-list\"><li>Finally, you\u2019ll need to update your domain\u2019s DNS settings to point to your LCN.com web hosting. If your domain name is with LCN.com you can learn how to do this <a href=\"https:\/\/www.lcn.com\/support\/articles\/how-to-change-your-nameservers\/\" target=\"_blank\" rel=\"noreferrer noopener\">here<\/a>.<\/li><\/ol>\n\n\n\n<h3 class=\"wp-block-heading\">Moving WordPress to a new domain or sub-domain<\/h3>\n\n\n\n<p>WordPress can be moved to a new domain or sub-domain by following the steps above. However, after the move is completed some of the internal links in your website may not work correctly.<\/p>\n\n\n\n<p>You can fix this by installing a plugin such as <a href=\"https:\/\/wordpress.org\/plugins\/velvet-blues-update-urls\/\" target=\"_blank\" rel=\"noopener noreferrer\">Velvet Blues Update URLs<\/a> or <a href=\"https:\/\/wordpress.org\/plugins\/better-search-replace\/\" target=\"_blank\" rel=\"noopener noreferrer\">Better Search Replace<\/a> which will update all the URLs within WordPress to reflect the change in domain.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Moving WordPress to a new directory or folder<\/h3>\n\n\n\n<p>Moving your WordPress website to a new directory (folder) on your existing hosting package is also a simple process, although you will still need to fix your links afterwards using <a href=\"https:\/\/wordpress.org\/plugins\/velvet-blues-update-urls\/ target=\">Velvet Blues Update URLs<\/a> or <a href=\"https:\/\/wordpress.org\/plugins\/better-search-replace\/\" target=\"_blank\" rel=\"noopener noreferrer\">Better Search Replace<\/a>.<\/p>\n\n\n\n<p>To change the directory, follow these steps:<\/p>\n\n\n\n<ol class=\"step_by_step wp-block-list\"><li>Log into your WordPress administrator dashboard and navigate to <strong>Settings &gt; General.<\/strong><\/li><li>Enter the URL for the new location of your WordPress files in the <strong>WordPress Address (URL)<\/strong> field.<\/li><li>Enter the URL for your website in the <strong>Site Address (URL)<\/strong> field before clicking <strong>Save Changes<\/strong>.<\/li><li>Move your WordPress files to the new location using your preferred FTP client.<\/li><\/ol>\n\n\n\n<p>That&#8217;s it! You have now moved your WordPress website.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This guide will explain how to move your WordPress website. For customers using LCN.com web hosting or WordPress hosting. If you\u2019re looking to move your WordPress website from another web hosting provider to LCN.com. You\u2019ll need to get a copy of your web and database files from your current hosting provider. Let\u2019s get started\u2026 Moving [&hellip;]<\/p>\n","protected":false},"author":1,"comment_status":"closed","ping_status":"open","template":"","format":"standard","meta":{"footnotes":""},"ht-kb-category":[14],"ht-kb-tag":[8],"class_list":["post-54","ht_kb","type-ht_kb","status-publish","format-standard","hentry","ht_kb_category-uploading-your-website-using-ftp","ht_kb_tag-wordpress-hosting"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.2 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to move your WordPress website - LCN.com<\/title>\n<meta name=\"description\" content=\"A step-by-step guide to moving your WordPress website for LCN.com web and WordPress hosting packages\" \/>\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.lcn.com\/support\/articles\/how-to-move-your-wordpress-website\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to move your WordPress website - LCN.com\" \/>\n<meta property=\"og:description\" content=\"A step-by-step guide to moving your WordPress website for LCN.com web and WordPress hosting packages\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.lcn.com\/support\/articles\/how-to-move-your-wordpress-website\/\" \/>\n<meta property=\"og:site_name\" content=\"Customer Support Guides - LCN\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/lcndotcom\" \/>\n<meta property=\"article:modified_time\" content=\"2021-05-21T15:01:11+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.lcn.com\/support\/wp-content\/uploads\/support-facebook-feed.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"628\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:site\" content=\"@lcndotcom\" \/>\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.lcn.com\/support\/articles\/how-to-move-your-wordpress-website\/\",\"url\":\"https:\/\/www.lcn.com\/support\/articles\/how-to-move-your-wordpress-website\/\",\"name\":\"How to move your WordPress website - LCN.com\",\"isPartOf\":{\"@id\":\"https:\/\/www.lcn.com\/support\/#website\"},\"datePublished\":\"2020-02-12T10:36:19+00:00\",\"dateModified\":\"2021-05-21T15:01:11+00:00\",\"description\":\"A step-by-step guide to moving your WordPress website for LCN.com web and WordPress hosting packages\",\"breadcrumb\":{\"@id\":\"https:\/\/www.lcn.com\/support\/articles\/how-to-move-your-wordpress-website\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.lcn.com\/support\/articles\/how-to-move-your-wordpress-website\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.lcn.com\/support\/articles\/how-to-move-your-wordpress-website\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.lcn.com\/support\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to move your WordPress website\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.lcn.com\/support\/#website\",\"url\":\"https:\/\/www.lcn.com\/support\/\",\"name\":\"Customer Support Guides - LCN\",\"description\":\"- LCN\",\"publisher\":{\"@id\":\"https:\/\/www.lcn.com\/support\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.lcn.com\/support\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.lcn.com\/support\/#organization\",\"name\":\"LCN.com\",\"url\":\"https:\/\/www.lcn.com\/support\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.lcn.com\/support\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.lcn.com\/support\/wp-content\/uploads\/2020\/02\/ZF_-hcc3.jpg\",\"contentUrl\":\"https:\/\/www.lcn.com\/support\/wp-content\/uploads\/2020\/02\/ZF_-hcc3.jpg\",\"width\":461,\"height\":461,\"caption\":\"LCN.com\"},\"image\":{\"@id\":\"https:\/\/www.lcn.com\/support\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/lcndotcom\",\"https:\/\/x.com\/lcndotcom\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to move your WordPress website - LCN.com","description":"A step-by-step guide to moving your WordPress website for LCN.com web and WordPress hosting packages","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.lcn.com\/support\/articles\/how-to-move-your-wordpress-website\/","og_locale":"en_US","og_type":"article","og_title":"How to move your WordPress website - LCN.com","og_description":"A step-by-step guide to moving your WordPress website for LCN.com web and WordPress hosting packages","og_url":"https:\/\/www.lcn.com\/support\/articles\/how-to-move-your-wordpress-website\/","og_site_name":"Customer Support Guides - LCN","article_publisher":"https:\/\/www.facebook.com\/lcndotcom","article_modified_time":"2021-05-21T15:01:11+00:00","og_image":[{"width":1200,"height":628,"url":"https:\/\/www.lcn.com\/support\/wp-content\/uploads\/support-facebook-feed.jpg","type":"image\/jpeg"}],"twitter_card":"summary_large_image","twitter_site":"@lcndotcom","twitter_misc":{"Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.lcn.com\/support\/articles\/how-to-move-your-wordpress-website\/","url":"https:\/\/www.lcn.com\/support\/articles\/how-to-move-your-wordpress-website\/","name":"How to move your WordPress website - LCN.com","isPartOf":{"@id":"https:\/\/www.lcn.com\/support\/#website"},"datePublished":"2020-02-12T10:36:19+00:00","dateModified":"2021-05-21T15:01:11+00:00","description":"A step-by-step guide to moving your WordPress website for LCN.com web and WordPress hosting packages","breadcrumb":{"@id":"https:\/\/www.lcn.com\/support\/articles\/how-to-move-your-wordpress-website\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.lcn.com\/support\/articles\/how-to-move-your-wordpress-website\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.lcn.com\/support\/articles\/how-to-move-your-wordpress-website\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.lcn.com\/support\/"},{"@type":"ListItem","position":2,"name":"How to move your WordPress website"}]},{"@type":"WebSite","@id":"https:\/\/www.lcn.com\/support\/#website","url":"https:\/\/www.lcn.com\/support\/","name":"Customer Support Guides - LCN","description":"- LCN","publisher":{"@id":"https:\/\/www.lcn.com\/support\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.lcn.com\/support\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.lcn.com\/support\/#organization","name":"LCN.com","url":"https:\/\/www.lcn.com\/support\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.lcn.com\/support\/#\/schema\/logo\/image\/","url":"https:\/\/www.lcn.com\/support\/wp-content\/uploads\/2020\/02\/ZF_-hcc3.jpg","contentUrl":"https:\/\/www.lcn.com\/support\/wp-content\/uploads\/2020\/02\/ZF_-hcc3.jpg","width":461,"height":461,"caption":"LCN.com"},"image":{"@id":"https:\/\/www.lcn.com\/support\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/lcndotcom","https:\/\/x.com\/lcndotcom"]}]}},"_links":{"self":[{"href":"https:\/\/www.lcn.com\/support\/wp-json\/wp\/v2\/ht-kb\/54","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.lcn.com\/support\/wp-json\/wp\/v2\/ht-kb"}],"about":[{"href":"https:\/\/www.lcn.com\/support\/wp-json\/wp\/v2\/types\/ht_kb"}],"author":[{"embeddable":true,"href":"https:\/\/www.lcn.com\/support\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.lcn.com\/support\/wp-json\/wp\/v2\/comments?post=54"}],"version-history":[{"count":3,"href":"https:\/\/www.lcn.com\/support\/wp-json\/wp\/v2\/ht-kb\/54\/revisions"}],"predecessor-version":[{"id":1543,"href":"https:\/\/www.lcn.com\/support\/wp-json\/wp\/v2\/ht-kb\/54\/revisions\/1543"}],"wp:attachment":[{"href":"https:\/\/www.lcn.com\/support\/wp-json\/wp\/v2\/media?parent=54"}],"wp:term":[{"taxonomy":"ht_kb_category","embeddable":true,"href":"https:\/\/www.lcn.com\/support\/wp-json\/wp\/v2\/ht-kb-category?post=54"},{"taxonomy":"ht_kb_tag","embeddable":true,"href":"https:\/\/www.lcn.com\/support\/wp-json\/wp\/v2\/ht-kb-tag?post=54"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}