{"id":1346,"date":"2018-03-07T16:31:48","date_gmt":"2018-03-07T21:31:48","guid":{"rendered":"https:\/\/harryrasmussen.ca\/blog\/?p=1346"},"modified":"2018-04-07T19:21:01","modified_gmt":"2018-04-07T23:21:01","slug":"how-to-encrypt-your-wordpress-website-using-cloudflare","status":"publish","type":"post","link":"https:\/\/harryrasmussen.ca\/blog\/2018\/03\/07\/how-to-encrypt-your-wordpress-website-using-cloudflare\/","title":{"rendered":"How To Encrypt Your WordPress Website Using Cloudflare"},"content":{"rendered":"<h3><\/h3>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<h3><\/h3>\n<h3><a href=\"https:\/\/harryrasmussen.ca\/blog\/wp-content\/uploads\/2018\/03\/Desktop-screenshot.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-1354 aligncenter\" src=\"https:\/\/harryrasmussen.ca\/blog\/wp-content\/uploads\/2018\/03\/Desktop-screenshot.jpg\" alt=\"\" width=\"1002\" height=\"261\" srcset=\"https:\/\/harryrasmussen.ca\/blog\/wp-content\/uploads\/2018\/03\/Desktop-screenshot.jpg 311w, https:\/\/harryrasmussen.ca\/blog\/wp-content\/uploads\/2018\/03\/Desktop-screenshot-300x78.jpg 300w\" sizes=\"auto, (max-width: 1002px) 100vw, 1002px\" \/><\/a><\/h3>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<h3>Why would you want to encrypt your website?<\/h3>\n<p>&nbsp;<\/p>\n<p>There are several reasons. One of them is that &#8220;Not Secure&#8221; warning in the address bar when you look at your website with a Google Chrome browser. I don&#8217;t do any e-commerce, but the warning gives a bad impression. You know your site is encrypted when you have a green lock and the address starts with &#8220;https:&#8221;<\/p>\n<p>Some hosting providers encrypt automatically as part of their service, and some consider this an extra charge. This was my situation, so I looked for a FREE solution.<\/p>\n<p>This is how I set up Cloudflare on the site you are looking at. <strong>It&#8217;s not too difficult, but do so at your own risk!<\/strong><\/p>\n<p>&nbsp;<\/p>\n<h3>Cloudflare<\/h3>\n<p>&nbsp;<\/p>\n<p>First, go to the <span style=\"color: #0000ff;\"><a style=\"color: #0000ff;\" href=\"https:\/\/www.cloudflare.com\/\">Cloudflare site<\/a>\u00a0<span style=\"color: #000000;\">and set up a <strong>FREE<\/strong> account. <span style=\"color: #0000ff;\"><a style=\"color: #0000ff;\" href=\"https:\/\/www.cloudflare.com\">https:\/\/www.cloudflare.com<\/a> <\/span><\/span><\/span><strong><span style=\"color: #000000;\">Use the default shared certificates provided at no cost!!!<\/span><\/strong><\/p>\n<p><span style=\"color: #0000ff;\"><span style=\"color: #000000;\">In a nutshell, Cloudflare creates a mirror of your website on servers all over the world reducing the strain on your host server while protecting you from attacks. Follow the documentation online for a default setup. You will be told which Nameservers are assigned to your domain, but <strong>you will still need to contact your host\u00a0admin<\/strong> to point to the new nameservers.<\/span> <\/span><\/p>\n<p>In the <strong>Page Rules<\/strong> section, create a page rule as follows:<\/p>\n<p>http:\/\/<em>yourdomain.com?<\/em> (The asterisks create a dynamic pattern (wildcard) that includes everything before and after the domain name at your site.)<\/p>\n<p>The settings are: Always Use HTTPS<\/p>\n<p>&nbsp;<\/p>\n<h3>WordPress Plugins<\/h3>\n<p>&nbsp;<\/p>\n<p>Assuming you know how to search for and find wordpressplugins, these are the specific plugins you will need:<\/p>\n<p><strong>Cloudflare <\/strong>&#8211; Cloudflare speeds up and protects your WordPress site.<strong><br \/>\n<\/strong><\/p>\n<p><strong>Better Search Replace &#8211; <\/strong>A small plugin for running a search\/replace on your WordPress database.<\/p>\n<p><strong>SSL Insecure Content Fixer<\/strong> &#8211; Clean up WordPress website HTTPS insecure content<\/p>\n<p>I use all 3 plugins. Watch the related videos below that provide an excellent overview and setup instructions. Good luck!<\/p>\n<p>&nbsp;<\/p>\n<h3><strong>Related Videos<\/strong><\/h3>\n<p>&nbsp;<\/p>\n<p class=\"title style-scope ytd-video-primary-info-renderer\"><a href=\"https:\/\/www.youtube.com\/watch?v=QdavwNKOtIE&amp;index=1&amp;list=PLoR3XNRChZXTkiGmmy6BU-T2VTSQm7CmK\">What is Cloudflare? SSL, Cache, CDN<\/a>\u00a0&#8211; A good overview of what Cloudflare does.<\/p>\n<p class=\"title style-scope ytd-video-primary-info-renderer\"><a href=\"https:\/\/www.youtube.com\/watch?v=vOJiJUpy_Mo&amp;list=PLoR3XNRChZXTkiGmmy6BU-T2VTSQm7CmK&amp;index=2\">How to Use Cloudflare &amp; Install Free SSL with WordPress<\/a>\u00a0&#8211; Installation of <strong>Cloudflare<\/strong> and <strong>Better Search Replace <\/strong>plugins.<\/p>\n<p class=\"title style-scope ytd-video-primary-info-renderer\"><a href=\"https:\/\/www.youtube.com\/watch?v=yUg3J_wkkPs&amp;index=3&amp;list=PLoR3XNRChZXTkiGmmy6BU-T2VTSQm7CmK\">WordPress Cloudflare Flexible SSL Setup<\/a>\u00a0&#8211; Installation of <strong>Cloudflare<\/strong> and\u00a0<strong>SSL Insecure Content Fixer <\/strong>plugins.<\/p>\n<p>&nbsp;<\/p>\n<h3><strong>Other Issues<\/strong><\/h3>\n<p>&nbsp;<\/p>\n<p>A side effect of this setup was my inability to access <strong>webmail<\/strong> and <strong>cPanel<\/strong> in the usual way.<\/p>\n<p>For <strong>webmail<\/strong>, use this example: webmail.mydomain.com (you may need to click on a different security setting to get it to work) Another way is by using this <a href=\"https:\/\/documentation.cpanel.net\/display\/CKB\/How+to+Log+in+to+Your+Server+or+Account\"><span style=\"color: #0000ff;\">documentation<\/span><\/a>.\u00a0 https:\/\/192.168.0.1:2095 (Replace\u00a0<code>192.168.0.1<\/code>\u00a0with your website or server&#8217;s IP address.)<\/p>\n<p>To access <strong>cPanel<\/strong>, follow the <a href=\"https:\/\/documentation.cpanel.net\/display\/CKB\/How+to+Log+in+to+Your+Server+or+Account\"><span style=\"color: #0000ff;\">documentation.<\/span><\/a>\u00a0 https:\/\/192.168.0.1:2083 (Replace\u00a0<code>192.168.0.1<\/code>\u00a0with your website or server&#8217;s IP address.)<\/p>\n<p>&nbsp;<\/p>\n<!-- AddThis Advanced Settings generic via filter on the_content --><!-- AddThis Share Buttons generic via filter on the_content -->","protected":false},"excerpt":{"rendered":"<p>&nbsp; &nbsp; &nbsp; &nbsp; Why would you want to encrypt your website? &nbsp; There are several reasons. One of them is that &#8220;Not Secure&#8221; warning in the address bar when you look at your website with a Google Chrome browser.[&hellip;]<a class=\"more-link\" href=\"https:\/\/harryrasmussen.ca\/blog\/2018\/03\/07\/how-to-encrypt-your-wordpress-website-using-cloudflare\/\">&darr; Read the rest of this entry&#8230;<\/a><!-- AddThis Advanced Settings generic via filter on wp_trim_excerpt --><!-- AddThis Share Buttons generic via filter on wp_trim_excerpt --><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[3,10],"tags":[99,33],"class_list":["post-1346","post","type-post","status-publish","format-standard","hentry","category-blog","category-tech-notes","tag-security","tag-tech-notes","uentry","postonpage-1","odd","post-author-harry2"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/harryrasmussen.ca\/blog\/wp-json\/wp\/v2\/posts\/1346","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/harryrasmussen.ca\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/harryrasmussen.ca\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/harryrasmussen.ca\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/harryrasmussen.ca\/blog\/wp-json\/wp\/v2\/comments?post=1346"}],"version-history":[{"count":15,"href":"https:\/\/harryrasmussen.ca\/blog\/wp-json\/wp\/v2\/posts\/1346\/revisions"}],"predecessor-version":[{"id":1362,"href":"https:\/\/harryrasmussen.ca\/blog\/wp-json\/wp\/v2\/posts\/1346\/revisions\/1362"}],"wp:attachment":[{"href":"https:\/\/harryrasmussen.ca\/blog\/wp-json\/wp\/v2\/media?parent=1346"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/harryrasmussen.ca\/blog\/wp-json\/wp\/v2\/categories?post=1346"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/harryrasmussen.ca\/blog\/wp-json\/wp\/v2\/tags?post=1346"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}