{"id":783,"date":"2017-02-09T18:45:48","date_gmt":"2017-02-09T18:45:48","guid":{"rendered":"https:\/\/web.apeconsulting.co.uk\/wordpress\/adrian\/?p=783"},"modified":"2017-02-09T18:45:48","modified_gmt":"2017-02-09T18:45:48","slug":"moving-from-web-wordpress2","status":"publish","type":"post","link":"https:\/\/home.apeconsulting.co.uk\/adrian\/moving-from-web-wordpress2\/","title":{"rendered":"Moving from web to wordpress (part 2)"},"content":{"rendered":"<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1120\" src=\"https:\/\/home.apeconsulting.co.uk\/adrian\/wp-content\/uploads\/sites\/2\/2017\/02\/ape-wordpress-logo-trans-1.png\" alt=\"\" width=\"150\" height=\"154\"><\/p>\n<p>I&#8217;m writing this about a week after the event, so it might not be entirely accurate, but needless to say it wasn&#8217;t quite as straightforward as I&#8217;d expected when I first had the idea!<\/p>\n<p><!--more-->As mentioned previously, the FreeNAS jail I was using to host WordPress previously was also running various other services and I wanted to create something specifically for WordPress. &nbsp;I also wanted to upgrade PHP from 5.6.x to 7.0.x along with updating to the latest versions of Nginx and MySQL (or actually MariaDB). &nbsp;I&#8217;d given some thought to migrating everything across, but as they&#8217;d been developed using the standard WordPress themes, and I&#8217;d just bought my first premium theme, I thought it would be more interesting to migrate the content and then recreate using the new theme.<\/p>\n<p>Actually creating the FEMP jail was pretty straight forward, and the only mistake I made was not creating a snapshot once I&#8217;d got the basic setup. &nbsp;My web jail had a mount point to the dataset for the database files (called fempdb) and I foolishly cloned this to create a new dataset for my WordPress jail (wordpressdb). &nbsp;This just created unnecessary problems trying to install MariaDB and then connect the WordPress install, so after a few failed attempts I decided to destroy the jail and wordpressdb dataset and start from scratch. &nbsp;This time, after setting up the jail with the FEMP stack and installing WordPress, I took a snapshot, so if anything went wrong I could roll back to the default platform. &nbsp;This has to be one of my favourite&nbsp;features of FreeNAS, or more specifically the file system ZFS, although unless you remember to snapshot it&#8217;s not much use.<\/p>\n<p>Anyway, with the snapshot taken and a mount point to a blank wordpressdb&nbsp;dataset, installing and configuring a database was straightforward and connecting to the IP address brought up the WordPress easy setup screens, where it was just a case of pointing things to the databases and waiting a few minutes. &nbsp;It seems much faster, although I suspect some of that is down to no plugins running as much as the speed PHP7 brings over 5.6.<\/p>\n<p>Over the last week, I&#8217;ve rebuilt this blog and my company web page&nbsp;in the WordPress jail, and my knowledge of WordPress has certainly improved since I did this the first time. &nbsp;I&#8217;m still getting to grips with the Divi theme, although that looks really powerful and simple to use too for someone with limited HTML and CSS&nbsp;knowledge. &nbsp;Maybe that&#8217;s something for my next Udemy adventure.<\/p>\n<p>I might come back to this at some point and documents setting up the FEMP stack, installing WordPress and configuring the database, but for the time being everything I wanted is moved to the new jail, and I now have another WordPress environment for playing around in. &nbsp;<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;m writing this about a week after the event, so it might not be entirely accurate, but needless to say it wasn&#8217;t quite as straightforward as I&#8217;d expected when I first had the idea!<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_et_pb_use_builder":"","_et_pb_old_content":"","_et_gb_content_width":"","jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":true,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[19,2,9,14],"tags":[21],"class_list":["post-783","post","type-post","status-publish","format-standard","hentry","category-freenas","category-it","category-server","category-wordpress","tag-spellchecked"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.3 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Moving from web to wordpress (part 2) - Adrian&#039;s Blog<\/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:\/\/home.apeconsulting.co.uk\/adrian\/moving-from-web-wordpress2\/\" \/>\n<meta property=\"og:locale\" content=\"en_GB\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Moving from web to wordpress (part 2) - Adrian&#039;s Blog\" \/>\n<meta property=\"og:description\" content=\"I&#8217;m writing this about a week after the event, so it might not be entirely accurate, but needless to say it wasn&#8217;t quite as straightforward as I&#8217;d expected when I first had the idea!\" \/>\n<meta property=\"og:url\" content=\"https:\/\/home.apeconsulting.co.uk\/adrian\/moving-from-web-wordpress2\/\" \/>\n<meta property=\"og:site_name\" content=\"Adrian&#039;s Blog\" \/>\n<meta property=\"article:published_time\" content=\"2017-02-09T18:45:48+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/home.apeconsulting.co.uk\/adrian\/wp-content\/uploads\/sites\/2\/2017\/02\/ape-wordpress-logo-trans-1.png\" \/>\n<meta name=\"author\" content=\"Adrian\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Adrian\" \/>\n\t<meta name=\"twitter:label2\" content=\"Estimated reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/home.apeconsulting.co.uk\\\/adrian\\\/moving-from-web-wordpress2\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/home.apeconsulting.co.uk\\\/adrian\\\/moving-from-web-wordpress2\\\/\"},\"author\":{\"name\":\"Adrian\",\"@id\":\"https:\\\/\\\/home.apeconsulting.co.uk\\\/adrian\\\/#\\\/schema\\\/person\\\/f63f15ff50bb8f956afdd86a816c5d2a\"},\"headline\":\"Moving from web to wordpress (part 2)\",\"datePublished\":\"2017-02-09T18:45:48+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/home.apeconsulting.co.uk\\\/adrian\\\/moving-from-web-wordpress2\\\/\"},\"wordCount\":501,\"commentCount\":1,\"publisher\":{\"@id\":\"https:\\\/\\\/home.apeconsulting.co.uk\\\/adrian\\\/#\\\/schema\\\/person\\\/f63f15ff50bb8f956afdd86a816c5d2a\"},\"image\":{\"@id\":\"https:\\\/\\\/home.apeconsulting.co.uk\\\/adrian\\\/moving-from-web-wordpress2\\\/#primaryimage\"},\"thumbnailUrl\":\"http:\\\/\\\/home.apeconsulting.co.uk\\\/adrian\\\/wp-content\\\/uploads\\\/sites\\\/2\\\/2017\\\/02\\\/ape-wordpress-logo-trans-1.png\",\"keywords\":[\"Checked\"],\"articleSection\":[\"FreeNAS\",\"IT\",\"Server\",\"WordPress\"],\"inLanguage\":\"en-GB\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/home.apeconsulting.co.uk\\\/adrian\\\/moving-from-web-wordpress2\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/home.apeconsulting.co.uk\\\/adrian\\\/moving-from-web-wordpress2\\\/\",\"url\":\"https:\\\/\\\/home.apeconsulting.co.uk\\\/adrian\\\/moving-from-web-wordpress2\\\/\",\"name\":\"Moving from web to wordpress (part 2) - Adrian&#039;s Blog\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/home.apeconsulting.co.uk\\\/adrian\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/home.apeconsulting.co.uk\\\/adrian\\\/moving-from-web-wordpress2\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/home.apeconsulting.co.uk\\\/adrian\\\/moving-from-web-wordpress2\\\/#primaryimage\"},\"thumbnailUrl\":\"http:\\\/\\\/home.apeconsulting.co.uk\\\/adrian\\\/wp-content\\\/uploads\\\/sites\\\/2\\\/2017\\\/02\\\/ape-wordpress-logo-trans-1.png\",\"datePublished\":\"2017-02-09T18:45:48+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/home.apeconsulting.co.uk\\\/adrian\\\/moving-from-web-wordpress2\\\/#breadcrumb\"},\"inLanguage\":\"en-GB\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/home.apeconsulting.co.uk\\\/adrian\\\/moving-from-web-wordpress2\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\\\/\\\/home.apeconsulting.co.uk\\\/adrian\\\/moving-from-web-wordpress2\\\/#primaryimage\",\"url\":\"http:\\\/\\\/home.apeconsulting.co.uk\\\/adrian\\\/wp-content\\\/uploads\\\/sites\\\/2\\\/2017\\\/02\\\/ape-wordpress-logo-trans-1.png\",\"contentUrl\":\"http:\\\/\\\/home.apeconsulting.co.uk\\\/adrian\\\/wp-content\\\/uploads\\\/sites\\\/2\\\/2017\\\/02\\\/ape-wordpress-logo-trans-1.png\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/home.apeconsulting.co.uk\\\/adrian\\\/moving-from-web-wordpress2\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/home.apeconsulting.co.uk\\\/adrian\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Moving from web to wordpress (part 2)\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/home.apeconsulting.co.uk\\\/adrian\\\/#website\",\"url\":\"https:\\\/\\\/home.apeconsulting.co.uk\\\/adrian\\\/\",\"name\":\"Adrian&#039;s Blog\",\"description\":\"Ramblings of an IT Geek\",\"publisher\":{\"@id\":\"https:\\\/\\\/home.apeconsulting.co.uk\\\/adrian\\\/#\\\/schema\\\/person\\\/f63f15ff50bb8f956afdd86a816c5d2a\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/home.apeconsulting.co.uk\\\/adrian\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-GB\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\\\/\\\/home.apeconsulting.co.uk\\\/adrian\\\/#\\\/schema\\\/person\\\/f63f15ff50bb8f956afdd86a816c5d2a\",\"name\":\"Adrian\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/c2e5d9012573aedee25fd68deb071781d974af50ae74bf73aeb0e70433f7390c?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/c2e5d9012573aedee25fd68deb071781d974af50ae74bf73aeb0e70433f7390c?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/c2e5d9012573aedee25fd68deb071781d974af50ae74bf73aeb0e70433f7390c?s=96&d=mm&r=g\",\"caption\":\"Adrian\"},\"logo\":{\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/c2e5d9012573aedee25fd68deb071781d974af50ae74bf73aeb0e70433f7390c?s=96&d=mm&r=g\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Moving from web to wordpress (part 2) - Adrian&#039;s Blog","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:\/\/home.apeconsulting.co.uk\/adrian\/moving-from-web-wordpress2\/","og_locale":"en_GB","og_type":"article","og_title":"Moving from web to wordpress (part 2) - Adrian&#039;s Blog","og_description":"I&#8217;m writing this about a week after the event, so it might not be entirely accurate, but needless to say it wasn&#8217;t quite as straightforward as I&#8217;d expected when I first had the idea!","og_url":"https:\/\/home.apeconsulting.co.uk\/adrian\/moving-from-web-wordpress2\/","og_site_name":"Adrian&#039;s Blog","article_published_time":"2017-02-09T18:45:48+00:00","og_image":[{"url":"https:\/\/home.apeconsulting.co.uk\/adrian\/wp-content\/uploads\/sites\/2\/2017\/02\/ape-wordpress-logo-trans-1.png","type":"","width":"","height":""}],"author":"Adrian","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Adrian","Estimated reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/home.apeconsulting.co.uk\/adrian\/moving-from-web-wordpress2\/#article","isPartOf":{"@id":"https:\/\/home.apeconsulting.co.uk\/adrian\/moving-from-web-wordpress2\/"},"author":{"name":"Adrian","@id":"https:\/\/home.apeconsulting.co.uk\/adrian\/#\/schema\/person\/f63f15ff50bb8f956afdd86a816c5d2a"},"headline":"Moving from web to wordpress (part 2)","datePublished":"2017-02-09T18:45:48+00:00","mainEntityOfPage":{"@id":"https:\/\/home.apeconsulting.co.uk\/adrian\/moving-from-web-wordpress2\/"},"wordCount":501,"commentCount":1,"publisher":{"@id":"https:\/\/home.apeconsulting.co.uk\/adrian\/#\/schema\/person\/f63f15ff50bb8f956afdd86a816c5d2a"},"image":{"@id":"https:\/\/home.apeconsulting.co.uk\/adrian\/moving-from-web-wordpress2\/#primaryimage"},"thumbnailUrl":"https:\/\/home.apeconsulting.co.uk\/adrian\/wp-content\/uploads\/sites\/2\/2017\/02\/ape-wordpress-logo-trans-1.png","keywords":["Checked"],"articleSection":["FreeNAS","IT","Server","WordPress"],"inLanguage":"en-GB","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/home.apeconsulting.co.uk\/adrian\/moving-from-web-wordpress2\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/home.apeconsulting.co.uk\/adrian\/moving-from-web-wordpress2\/","url":"https:\/\/home.apeconsulting.co.uk\/adrian\/moving-from-web-wordpress2\/","name":"Moving from web to wordpress (part 2) - Adrian&#039;s Blog","isPartOf":{"@id":"https:\/\/home.apeconsulting.co.uk\/adrian\/#website"},"primaryImageOfPage":{"@id":"https:\/\/home.apeconsulting.co.uk\/adrian\/moving-from-web-wordpress2\/#primaryimage"},"image":{"@id":"https:\/\/home.apeconsulting.co.uk\/adrian\/moving-from-web-wordpress2\/#primaryimage"},"thumbnailUrl":"https:\/\/home.apeconsulting.co.uk\/adrian\/wp-content\/uploads\/sites\/2\/2017\/02\/ape-wordpress-logo-trans-1.png","datePublished":"2017-02-09T18:45:48+00:00","breadcrumb":{"@id":"https:\/\/home.apeconsulting.co.uk\/adrian\/moving-from-web-wordpress2\/#breadcrumb"},"inLanguage":"en-GB","potentialAction":[{"@type":"ReadAction","target":["https:\/\/home.apeconsulting.co.uk\/adrian\/moving-from-web-wordpress2\/"]}]},{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/home.apeconsulting.co.uk\/adrian\/moving-from-web-wordpress2\/#primaryimage","url":"https:\/\/home.apeconsulting.co.uk\/adrian\/wp-content\/uploads\/sites\/2\/2017\/02\/ape-wordpress-logo-trans-1.png","contentUrl":"https:\/\/home.apeconsulting.co.uk\/adrian\/wp-content\/uploads\/sites\/2\/2017\/02\/ape-wordpress-logo-trans-1.png"},{"@type":"BreadcrumbList","@id":"https:\/\/home.apeconsulting.co.uk\/adrian\/moving-from-web-wordpress2\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/home.apeconsulting.co.uk\/adrian\/"},{"@type":"ListItem","position":2,"name":"Moving from web to wordpress (part 2)"}]},{"@type":"WebSite","@id":"https:\/\/home.apeconsulting.co.uk\/adrian\/#website","url":"https:\/\/home.apeconsulting.co.uk\/adrian\/","name":"Adrian&#039;s Blog","description":"Ramblings of an IT Geek","publisher":{"@id":"https:\/\/home.apeconsulting.co.uk\/adrian\/#\/schema\/person\/f63f15ff50bb8f956afdd86a816c5d2a"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/home.apeconsulting.co.uk\/adrian\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-GB"},{"@type":["Person","Organization"],"@id":"https:\/\/home.apeconsulting.co.uk\/adrian\/#\/schema\/person\/f63f15ff50bb8f956afdd86a816c5d2a","name":"Adrian","image":{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/secure.gravatar.com\/avatar\/c2e5d9012573aedee25fd68deb071781d974af50ae74bf73aeb0e70433f7390c?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/c2e5d9012573aedee25fd68deb071781d974af50ae74bf73aeb0e70433f7390c?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/c2e5d9012573aedee25fd68deb071781d974af50ae74bf73aeb0e70433f7390c?s=96&d=mm&r=g","caption":"Adrian"},"logo":{"@id":"https:\/\/secure.gravatar.com\/avatar\/c2e5d9012573aedee25fd68deb071781d974af50ae74bf73aeb0e70433f7390c?s=96&d=mm&r=g"}}]}},"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p90DI4-cD","jetpack-related-posts":[],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/home.apeconsulting.co.uk\/adrian\/wp-json\/wp\/v2\/posts\/783","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/home.apeconsulting.co.uk\/adrian\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/home.apeconsulting.co.uk\/adrian\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/home.apeconsulting.co.uk\/adrian\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/home.apeconsulting.co.uk\/adrian\/wp-json\/wp\/v2\/comments?post=783"}],"version-history":[{"count":0,"href":"https:\/\/home.apeconsulting.co.uk\/adrian\/wp-json\/wp\/v2\/posts\/783\/revisions"}],"wp:attachment":[{"href":"https:\/\/home.apeconsulting.co.uk\/adrian\/wp-json\/wp\/v2\/media?parent=783"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/home.apeconsulting.co.uk\/adrian\/wp-json\/wp\/v2\/categories?post=783"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/home.apeconsulting.co.uk\/adrian\/wp-json\/wp\/v2\/tags?post=783"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}