{"id":4663,"date":"2018-12-11T08:46:14","date_gmt":"2018-12-11T08:46:14","guid":{"rendered":"https:\/\/max-drake.cc\/?p=4663"},"modified":"2018-12-11T16:55:16","modified_gmt":"2018-12-11T16:55:16","slug":"moving-6-websites-to-https-wordpress-5-0","status":"publish","type":"post","link":"https:\/\/max-drake.cc\/?p=4663","title":{"rendered":"Moving 6 websites to HTTPS &#038; WordPress 5.0"},"content":{"rendered":"\n<p>This is a journal of my process.<\/p>\n\n\n\n<p>I have my new services site <strong><a rel=\"noreferrer noopener\" href=\"https:\/\/dataiknow.info\/\" target=\"_blank\">DataIKnoW.info<\/a><\/strong> which I altered to an HTTPS site.&nbsp; So I want to move my other sites to HTTPS. A couple of reasons for this.<\/p>\n\n\n\n<p>&nbsp;1. SEO on the other sites, especially my blog site Cr8ive.cf<\/p>\n\n\n\n<p>2. Sitemap and SEO updates in Search Console &amp; Bing Console. Currently the search results to my sites are not pretty. So I get lots of impressions but very low click rate. I.e. my pages turn up on peoples searches but no one clicks on my site links. My Meta Descriptions are pretty rubbish.&nbsp; I have been steadily updating them and want to submit new sitemaps but I get the following on Search Console:<\/p>\n\n\n\n<p>The <strong><a rel=\"noreferrer noopener\" href=\"https:\/\/dataiknow.info\/\" target=\"_blank\">DataIKnoW.info<\/a><\/strong>site which is HTTPS uploads sitemap (generated by Yoast SEO plugin (earlier version was Google sitemap XML plugin)) and its status is a success. So at sometime Google will update the site&#8217;s links.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" width=\"1024\" height=\"409\" data-src=\"https:\/\/max-drake.cc\/wp-content\/uploads\/2018\/12\/im10-2-1024x409.jpg\" alt=\"\" class=\"wp-image-4652 lazyload\" data-srcset=\"https:\/\/max-drake.cc\/wp-content\/uploads\/2018\/12\/im10-2-1024x409.jpg 1024w, https:\/\/max-drake.cc\/wp-content\/uploads\/2018\/12\/im10-2-300x120.jpg 300w, https:\/\/max-drake.cc\/wp-content\/uploads\/2018\/12\/im10-2-768x307.jpg 768w\" data-sizes=\"(max-width: 1024px) 100vw, 1024px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 1024px; --smush-placeholder-aspect-ratio: 1024\/409;\" \/><\/figure>\n\n\n\n<p>But on mycr8ive.cf blog site it will not upload and the status is &#8220;Couldn&#8217;tfetch&#8221;. I have checked it on the old Search Console (where you can do tests) and the Sitemap.xml&#8217;s results are no errors after doing the test. But the New Search console (and Bing) wont accept them.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" width=\"1024\" height=\"427\" data-src=\"https:\/\/max-drake.cc\/wp-content\/uploads\/2018\/12\/im11-1-1024x427.jpg\" alt=\"\" class=\"wp-image-4651 lazyload\" data-srcset=\"https:\/\/max-drake.cc\/wp-content\/uploads\/2018\/12\/im11-1-1024x427.jpg 1024w, https:\/\/max-drake.cc\/wp-content\/uploads\/2018\/12\/im11-1-300x125.jpg 300w, https:\/\/max-drake.cc\/wp-content\/uploads\/2018\/12\/im11-1-768x320.jpg 768w\" data-sizes=\"(max-width: 1024px) 100vw, 1024px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 1024px; --smush-placeholder-aspect-ratio: 1024\/427;\" \/><\/figure>\n\n\n\n<p><strong>Process, part 1<\/strong><\/p>\n\n\n\n<p>I followed an article for the <strong><a rel=\"noreferrer noopener\" href=\"https:\/\/dataiknow.info\/\" target=\"_blank\">DataIKnoW.info<\/a><\/strong> website that required me to go into every page on the site and force it to HTTPS for about 12 pages. A long process. My cr8ive.cf site has over 150 posts so I do not want to go down that route.<\/p>\n\n\n\n<p>I found the following video online that I thought was very good, and I&#8217;m following that process:<\/p>\n\n\n\n<figure><iframe data-src=\"https:\/\/www.youtube.com\/embed\/cizulBKZ5bc\" allowfullscreen=\"allowfullscreen\" width=\"560\" height=\"315\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" class=\"lazyload\" data-load-mode=\"1\"><\/iframe><\/figure>\n\n\n\n<p><strong>VPS Windows Server SSL Certificates Issues<\/strong><\/p>\n\n\n\n<p>Where he has, in the video,&nbsp; host providers, I am running on my Windows server, so am using a windows Server. For this I set up <a rel=\"noreferrer noopener\" href=\"https:\/\/certifytheweb.com\/\" target=\"_blank\"><strong>Certify SSL Manager<\/strong><\/a> on my server.<\/p>\n\n\n\n<p>As you can see 3 of them are in red. I think this is because the certificates are created but do not come into effect until a specific time. It says at 10.15pmGMT. My server is in Germany which is GMT +1 so I need to wait an hour to see if it will take effect.<\/p>\n\n\n\n<p>The other surprise I got was the free version only allows 5 certificates. You then have to purchase the software for $45US and it will then work on 3 servers. At this point I will just have 5 sites.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" width=\"1024\" height=\"890\" data-src=\"https:\/\/max-drake.cc\/wp-content\/uploads\/2018\/12\/im12-1-1024x890.jpg\" alt=\"\" class=\"wp-image-4653 lazyload\" data-srcset=\"https:\/\/max-drake.cc\/wp-content\/uploads\/2018\/12\/im12-1-1024x890.jpg 1024w, https:\/\/max-drake.cc\/wp-content\/uploads\/2018\/12\/im12-1-300x261.jpg 300w, https:\/\/max-drake.cc\/wp-content\/uploads\/2018\/12\/im12-1-768x668.jpg 768w, https:\/\/max-drake.cc\/wp-content\/uploads\/2018\/12\/im12-1.jpg 1399w\" data-sizes=\"(max-width: 1024px) 100vw, 1024px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 1024px; --smush-placeholder-aspect-ratio: 1024\/890;\" \/><\/figure>\n\n\n\n<p>I had problems with this as the certificates were not coming up so I went to the following video:<\/p>\n\n\n\n<figure><iframe data-src=\"https:\/\/www.youtube.com\/embed\/fq5OUOjumuM\" allowfullscreen=\"\" width=\"560\" height=\"315\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" class=\"lazyload\" data-load-mode=\"1\"><\/iframe><\/figure>\n\n\n\n<p>On my VPS windows server.&nbsp; For PKI Sharp\/<strong>win-acme g<\/strong>o <strong><a rel=\"noreferrer noopener\" href=\"https:\/\/github.com\/PKISharp\/win-acme\/releases\" target=\"_blank\">here<\/a><\/strong> to get latest release of programme .After getting the right files (and also clicking Properties&gt; UNBLOCK box for the Zip file , I extracted the files and&nbsp; using Explorer just clicked on the Letsencrypt.exe and it opened a command prompt window and I could then run it on the command line.<\/p>\n\n\n\n<p>This worked great on the first site I tested, the PIR2.TK. Got that up and running with a new certificate, no problem. BUT, then I tried the Apriori &amp; Cr8ivewebsites and they both errored out. I had issued too many certificates to those sites (me playing with the Certify programme) so I have to wait a week to do these. I have set a calendar reminder for this. <\/p>\n\n\n\n<p>I then tried the maxdrake.tk website and it issued a certificate for that one, so that is great. I will head on and change that site over as I&#8217;ve already made a backup of it.<\/p>\n\n\n\n<p><strong>Process, Part 2<\/strong><\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>First of All BACKUP. I have     taken a mirror of the 3 sites Apriori.ml, pir.tk &amp; cr8ive.cf and a     Dump of their databases.<\/li><li>I am going to try and update     all the sites to WordPress 5.0 at the same time. I have tried it on one     site already and it seemed to go OK. I&#8217;ll need to bite the bullet with the     new text editor as well.<\/li><\/ol>\n\n\n\n<p>In the first video his recommendations are:<\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>Clear Cache<\/li><li>Deactivate Cache plugin<\/li><li>Go to Settings&gt; General\n     and change the WordPress &amp; Site addresses from HTTP to HTTPS<\/li><li>Add Really Simple SSL plugin\n     and activate<\/li><li>Better Search Replace Plugin\n     and activate then Search, in all database tables for Http:\/\/Sitename.com\n     and replace with Https:\/\/Sitename.com. This sorts out the issue of all\n     your photo links going to an Https and not to the original Http (something\n     that caused me quite a bit of grief&nbsp; when I was doing the dataIknow\n     site. <\/li><li>Any issues after you try\n     going to Https:\/\/&#8230;&#8230; your site (brown triangle you can use the\n     following resources, 1. www.whynopadlock.com&nbsp; or 2\/\n     www.jitbit.com\/sslcheck\/.&nbsp; For both of these put your site URL in and\n     they&#8217;ll look for issues. <\/li><li>If it all works check out\n     the External Services like Google Search Console (create new for HTTPS:\/\/\n     sites , and just rename in Google Analytics under Admin at bottom in left\n     side panel. Don&#8217;t forget BING as well. <\/li><\/ol>\n\n\n\n<p><strong>State of play at the moment<\/strong><\/p>\n\n\n\n<p>WordPress5 Updates &amp; Theme updates (to match WP 5.0) &#8211; With &#8220;GOTCHA&#8221; of not transferring the Google Analytics code across. OOPS!!!<\/p>\n\n\n\n<p>Remember, on Theme update to make sure analytics is still operational. I should write a post on that as I constantly\u00a0 forget the analytics in the header.<br><\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>Cr8ive<\/li><li>Apriori<\/li><li>Pir2<\/li><li>maxdrake.tk<\/li><li>DataIknow.info<\/li><li>Image4.cf<\/li><\/ol>\n\n\n\n<p>HTTPS\nupdates complete<\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>DataIKnow.info<\/li><li>Pir2.tk<\/li><li>maxdrake.tk<\/li><li>Image4.cf<\/li><\/ol>\n\n\n\n<p>Half way\nhouse for HTTPS<\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>Image4.cf- Still not doing     sitemap.xml upload, I have to check &#8220;Force HTTPS&#8221; so add Really     Simple SSL plugin and also check Dashboard&gt;settings&gt;general Site     &amp; WordPress url&#8217;s are HTTPS. Altered but sitemap still not accepted<\/li><li>Cr8ive.cf &#8211; have to wait 7     days for certificate<\/li><li>Apriori.ml- have to wait 7     days for certificate<\/li><li>&nbsp;<\/li><\/ol>\n\n\n\n<p>Updated Google Analytics, Search Console &amp; Bing Console<\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>Image4.cf<\/li><li>Pir2.tk<\/li><li>DataIknow<\/li><\/ol>\n\n\n\n<p>&nbsp;Sitemaps accepted by Search console &amp; Bing?<\/p>\n\n\n\n<ol class=\"wp-block-list\"><li><strong>DataIKnow.info&nbsp;&nbsp;&nbsp;\n     YES<\/strong><\/li><li><em>Pir2.tk&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\n     NO<\/em><\/li><li><em>cr8ive&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\n     NO<\/em><\/li><li><em>Apriori&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\n     NO<\/em><\/li><li><em>Image4&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\n     NO<\/em><\/li><li><em>Maxdrake.tk&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\n     NO<\/em><\/li><\/ol>\n\n\n\n<p><strong>End thoughts for today Tue 11 Dec 2018<\/strong><\/p>\n\n\n\n<p>A bit messy. I had a feeling it would not be a smooth process. Not a nice place to be. I was hoping to get them all done and was expecting a long day of work to do it.A win on getting most of my sites onto WordPress 5 and updating the themes. <\/p>\n\n\n\n<p>The certificates on the 2 sites are holding me up.The other sites went well. I think I prefer the command line tool to the Certify Tool, I find their interface weird and not at all logical. The command line is straightforward and the video clear. <\/p>\n\n\n\n<p>&nbsp;I need to do some more research on the Search Console to see if I can get the sitemap.xml&#8217;s up and running. This was the reason I am moving to HTTPS and it seems I have had no wins on this front at all. <\/p>\n\n\n\n<p>It took me awhile to update bits of the theme for mt CV site as I didn&#8217;t use a child theme and a couple of things got lost in the update. I need to revisit this site for tidying it up<\/p>\n\n\n\n<p>I lost all the portfolio pages on my image 4 site and am reconstructing those now. The photos are there, although they do not all appear so its a matter of selecting the photos for the categories. Quite fun going back and looking at them again.<\/p>\n\n\n\n<p>TheDataIKnoW site is a bit buggy on the Mobile view, I need to have another look at this. It doesn&#8217;t seem to have improved on the WP 5 and theme update either.Maybe another theme? I want to re-image the front slider in Gimp. Maybe that will be a change and a task for tomorrow. My brain hurts after today&#8217;s effort.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">WordPress Update and Theme issues <br><\/h4>\n\n\n\n<p>The DataIKnow site has been giving issues. The homepage does not render properly on Mobile, Chrome or Edge. I just emulated on Safari using<strong> <a rel=\"noreferrer noopener\" aria-label=\"The DataIKnow site has been giving issues. The homepage does not render properly on Mobile, Chrome or Edge. I just emulated on Safari using this site&nbsp; and it \n (opens in a new tab)\" href=\"https:\/\/www.browserling.com\" target=\"_blank\">this site<\/a><\/strong><a rel=\"noreferrer noopener\" aria-label=\"The DataIKnow site has been giving issues. The homepage does not render properly on Mobile, Chrome or Edge. I just emulated on Safari using this site&nbsp; and it \n (opens in a new tab)\" href=\"https:\/\/www.browserling.com\" target=\"_blank\">&nbsp;<\/a> and it is the same there. Not too pretty. And different bugs on different sites. Chrome says it cannot get<strong> \/envelope-border.png <\/strong>and that image doesn&#8217;t exist in the theme after a search, nor is it in the images folder. I have tried with and without Cache and same issue in both cases. This is ongoing. I may have to change theme.<br><\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" width=\"1024\" height=\"437\" data-src=\"https:\/\/max-drake.cc\/wp-content\/uploads\/2018\/12\/im13-1-1024x437.jpg\" alt=\"\" class=\"wp-image-4666 lazyload\" data-srcset=\"https:\/\/max-drake.cc\/wp-content\/uploads\/2018\/12\/im13-1-1024x437.jpg 1024w, https:\/\/max-drake.cc\/wp-content\/uploads\/2018\/12\/im13-1-300x128.jpg 300w, https:\/\/max-drake.cc\/wp-content\/uploads\/2018\/12\/im13-1-768x328.jpg 768w, https:\/\/max-drake.cc\/wp-content\/uploads\/2018\/12\/im13-1.jpg 1880w\" data-sizes=\"(max-width: 1024px) 100vw, 1024px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 1024px; --smush-placeholder-aspect-ratio: 1024\/437;\" \/><\/figure>\n\n\n\n<p>I&#8217;m also having issues with my block theme after updating too. I thought I had resolved the issues yesterday but there are a few more. This is the Ribbon Lite theme that I have been using. I updated the theme when moving to WP 5.0<br><\/p>\n\n\n\n<h4 class=\"wp-block-heading\">WordPress Post Issue on changeover to 5.0 &amp; Gutenberg bug<br><\/h4>\n\n\n\n<p>A couple of issues arose. 1\/ I was doing this post prior to updating to WordPress 5 which had classic editor. On updating I went to Gutenberg editor.&nbsp; The post ended up half in classic and half in Gutenberg. When I published it only the classic part showed. I tried cutting\/pasting to a new post but that did not work. The solution was to paste into WORD then paste into new post. Issue 2\/ I have noticed when you are pasting into Gutenberg Editor some words join onto the next word in the sentence. This may occur anywhere in a paragraph and may happen 2-4 times in the same paragraph. You have to go into that block and click between the words and add a space. Remember to click twice on the first time in a block otherwise it goes to the front and puts a space at the front. <br><\/p>\n","protected":false},"excerpt":{"rendered":"<p>A journal of my efforts to update 6 web sites on my Windows Virtual Private Server (VPS) to secure HTTPS  with free HTTPS Certificates from LetsEncrypt. Also  updating sites to WordPress 5.0 &#038;  their themes. Also reviewing Google Analytics &#038; Search Console Setups required for these changes<\/p>\n","protected":false},"author":1,"featured_media":4653,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[29,27],"tags":[],"class_list":["post-4663","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-web","category-wordpress"],"featured_image_src":"https:\/\/max-drake.cc\/wp-content\/uploads\/2018\/12\/im12-1.jpg","featured_image_src_square":"https:\/\/max-drake.cc\/wp-content\/uploads\/2018\/12\/im12-1.jpg","author_info":{"display_name":"Max Drake","author_link":"https:\/\/max-drake.cc\/?author=1"},"_links":{"self":[{"href":"https:\/\/max-drake.cc\/index.php?rest_route=\/wp\/v2\/posts\/4663","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/max-drake.cc\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/max-drake.cc\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/max-drake.cc\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/max-drake.cc\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=4663"}],"version-history":[{"count":0,"href":"https:\/\/max-drake.cc\/index.php?rest_route=\/wp\/v2\/posts\/4663\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/max-drake.cc\/index.php?rest_route=\/wp\/v2\/media\/4653"}],"wp:attachment":[{"href":"https:\/\/max-drake.cc\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=4663"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/max-drake.cc\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=4663"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/max-drake.cc\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=4663"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}