{"id":768,"date":"2020-06-11T11:34:17","date_gmt":"2020-06-11T18:34:17","guid":{"rendered":"https:\/\/SUMMALAI.COM\/?p=768"},"modified":"2020-06-11T11:34:17","modified_gmt":"2020-06-11T18:34:17","slug":"2-solutions-for-still-showing-not-secure-via-https-with-ssl","status":"publish","type":"post","link":"https:\/\/SUMMALAI.COM\/?p=768","title":{"rendered":"2 Solutions for still showing &#8220;not secure&#8221; via HTTPS (with SSL)"},"content":{"rendered":"\n<p><strong>Overview<\/strong><\/p>\n\n\n\n<p>A common issue after adding an SSL certificate is that your browser still shows your site as insecure. This most often happens because there are links on your page that still point to HTTP instead of HTTPS. For example, look at the following code to link an image.<\/p>\n\n\n\n<p><em>&lt;img src=&#8221;<strong>http<\/strong>:\/\/www.example.com\/images\/pic_mountain.jpg&#8221; alt=&#8221;Mountain View&#8221;><\/em><\/p>\n\n\n\n<p>Notice how the URL is directly linked with &#8216;http&#8217; at the beginning. When visiting the site in Firefox, the following is displayed:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img fetchpriority=\"high\" decoding=\"async\" width=\"419\" height=\"380\" src=\"https:\/\/SUMMALAI.COM\/wp-content\/uploads\/2020\/06\/33.png\" alt=\"\" class=\"wp-image-769\" srcset=\"https:\/\/SUMMALAI.COM\/wp-content\/uploads\/2020\/06\/33.png 419w, https:\/\/SUMMALAI.COM\/wp-content\/uploads\/2020\/06\/33-300x272.png 300w\" sizes=\"(max-width: 419px) 100vw, 419px\" \/><\/figure>\n\n\n\n<p>You can see the padlock icon in the top left of the browser shows a warning icon instead.<\/p>\n\n\n\n<p><strong>Cause of this error<\/strong><\/p>\n\n\n\n<p>If you click on the warning icon the text explains that there are &#8216;unencrypted elements&#8217; on the page you&#8217;re viewing.<\/p>\n\n\n\n<p>From the example above, this is happening because the image was linked using &#8216;HTTP&#8217; and not &#8216;HTTPS&#8217;. Another way to confirm what on your site is linked insecurely is to use the following site:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><a href=\"https:\/\/www.whynopadlock.com\/\">whynopadlock.com<\/a><\/li><\/ul>\n\n\n\n<p><strong>Fixing unencrypted links<\/strong><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Solution 1<\/h2>\n\n\n\n<p><strong>Use absolute links<\/strong><\/p>\n\n\n\n<p>Absolute links are the full url location to your file. This includes the domain name. For example:<\/p>\n\n\n\n<p><em>&lt;img src=&#8221;<strong>https:<\/strong>\/\/www.example.com\/images\/pic_mountain.jpg&#8221; alt=&#8221;Mountain View&#8221;><\/em><\/p>\n\n\n\n<p>Just make sure you&#8217;re using HTTPS when linking this way.<\/p>\n\n\n\n<p><strong>Use relative links<\/strong><\/p>\n\n\n\n<p>Relative links do not include the domain name. These links point to a local file instead. For example:<\/p>\n\n\n\n<p><em>&lt;img src=&#8221;images\/pic_mountain.jpg&#8221; alt=&#8221;Mountain View&#8221;><\/em><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Solution 2  &#8211; Recommended<\/h2>\n\n\n\n<p><strong>Resolving the warning by adding code to your .htaccess file<\/strong><\/p>\n\n\n\n<p>Instead of manually updating links in your code, you could add the following lines to your site&#8217;s .htaccess file.<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Creating and editing a file via FTP<\/li><li>.htaccess overview<\/li><\/ul>\n\n\n\n<p><em>Header always set Content-Security-Policy &#8220;upgrade-insecure-requests;&#8221;<\/em><\/p>\n\n\n\n<p>These lines force the browser to automatically update any insecure links to secure links. Once added, the warning should immediately disappear. <\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Overview A common issue after adding an SSL certificate is that your browser still shows your site as insecure. This most often happens because there are links on your page that still point to HTTP instead of HTTPS. For example, look at the following code to link an image. &lt;img src=&#8221;http:\/\/www.example.com\/images\/pic_mountain.jpg&#8221; alt=&#8221;Mountain View&#8221;> Notice how <a class=\"read-more\" href=\"https:\/\/SUMMALAI.COM\/?p=768\">Read More<\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_bbp_topic_count":0,"_bbp_reply_count":0,"_bbp_total_topic_count":0,"_bbp_total_reply_count":0,"_bbp_voice_count":0,"_bbp_anonymous_reply_count":0,"_bbp_topic_count_hidden":0,"_bbp_reply_count_hidden":0,"_bbp_forum_subforum_count":0,"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[104,5],"tags":[],"class_list":["post-768","post","type-post","status-publish","format-standard","hentry","category-apache","category-linux"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 4.9.10 - aioseo.com -->\n\t<meta name=\"description\" content=\"Overview A common issue after adding an SSL certificate is that your browser still shows your site as insecure. This most often happens because there are links on your page that still point to HTTP instead of HTTPS. For example, look at the following code to link an image. Notice how\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Summa Lai\"\/>\n\t<meta name=\"keywords\" content=\"apache,linux family\" \/>\n\t<link rel=\"canonical\" href=\"https:\/\/SUMMALAI.COM\/?p=768\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 4.9.10\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/SUMMALAI.COM\\\/?p=768#article\",\"name\":\"2 Solutions for still showing \\u201cnot secure\\u201d via HTTPS (with SSL) | Summa Lai\",\"headline\":\"2 Solutions for still showing &#8220;not secure&#8221; via HTTPS (with SSL)\",\"author\":{\"@id\":\"https:\\\/\\\/SUMMALAI.COM\\\/?author=2#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/SUMMALAI.COM\\\/#person\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/SUMMALAI.COM\\\/wp-content\\\/uploads\\\/2020\\\/06\\\/33.png\",\"@id\":\"https:\\\/\\\/SUMMALAI.COM\\\/?p=768\\\/#articleImage\",\"width\":419,\"height\":380},\"datePublished\":\"2020-06-11T11:34:17-07:00\",\"dateModified\":\"2020-06-11T11:34:17-07:00\",\"inLanguage\":\"en-US\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/SUMMALAI.COM\\\/?p=768#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/SUMMALAI.COM\\\/?p=768#webpage\"},\"articleSection\":\"Apache, Linux Family\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/SUMMALAI.COM\\\/?p=768#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/SUMMALAI.COM#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/SUMMALAI.COM\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/SUMMALAI.COM\\\/?cat=5#listItem\",\"name\":\"Linux Family\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/SUMMALAI.COM\\\/?cat=5#listItem\",\"position\":2,\"name\":\"Linux Family\",\"item\":\"https:\\\/\\\/SUMMALAI.COM\\\/?cat=5\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/SUMMALAI.COM\\\/?cat=104#listItem\",\"name\":\"Apache\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/SUMMALAI.COM#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/SUMMALAI.COM\\\/?cat=104#listItem\",\"position\":3,\"name\":\"Apache\",\"item\":\"https:\\\/\\\/SUMMALAI.COM\\\/?cat=104\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/SUMMALAI.COM\\\/?p=768#listItem\",\"name\":\"2 Solutions for still showing &#8220;not secure&#8221; via HTTPS (with SSL)\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/SUMMALAI.COM\\\/?cat=5#listItem\",\"name\":\"Linux Family\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/SUMMALAI.COM\\\/?p=768#listItem\",\"position\":4,\"name\":\"2 Solutions for still showing &#8220;not secure&#8221; via HTTPS (with SSL)\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/SUMMALAI.COM\\\/?cat=104#listItem\",\"name\":\"Apache\"}}]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/SUMMALAI.COM\\\/#person\",\"name\":\"sladmin\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/SUMMALAI.COM\\\/?p=768#personImage\",\"url\":\"https:\\\/\\\/SUMMALAI.COM\\\/wp-content\\\/uploads\\\/2020\\\/05\\\/Summa_Logo-150x150.png\",\"width\":96,\"height\":96,\"caption\":\"sladmin\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/SUMMALAI.COM\\\/?author=2#author\",\"url\":\"https:\\\/\\\/SUMMALAI.COM\\\/?author=2\",\"name\":\"Summa Lai\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/SUMMALAI.COM\\\/?p=768#authorImage\",\"url\":\"https:\\\/\\\/SUMMALAI.COM\\\/wp-content\\\/uploads\\\/2020\\\/05\\\/Summa_Logo-150x150.png\",\"width\":96,\"height\":96,\"caption\":\"Summa Lai\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/SUMMALAI.COM\\\/?p=768#webpage\",\"url\":\"https:\\\/\\\/SUMMALAI.COM\\\/?p=768\",\"name\":\"2 Solutions for still showing \\u201cnot secure\\u201d via HTTPS (with SSL) | Summa Lai\",\"description\":\"Overview A common issue after adding an SSL certificate is that your browser still shows your site as insecure. This most often happens because there are links on your page that still point to HTTP instead of HTTPS. For example, look at the following code to link an image. Notice how\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/SUMMALAI.COM\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/SUMMALAI.COM\\\/?p=768#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/SUMMALAI.COM\\\/?author=2#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/SUMMALAI.COM\\\/?author=2#author\"},\"datePublished\":\"2020-06-11T11:34:17-07:00\",\"dateModified\":\"2020-06-11T11:34:17-07:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/SUMMALAI.COM\\\/#website\",\"url\":\"https:\\\/\\\/SUMMALAI.COM\\\/\",\"name\":\"Summa Lai\",\"description\":\"Never Stop Learning, Building a Little Wiki...\",\"inLanguage\":\"en-US\",\"publisher\":{\"@id\":\"https:\\\/\\\/SUMMALAI.COM\\\/#person\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"2 Solutions for still showing \u201cnot secure\u201d via HTTPS (with SSL) | Summa Lai","description":"Overview A common issue after adding an SSL certificate is that your browser still shows your site as insecure. This most often happens because there are links on your page that still point to HTTP instead of HTTPS. For example, look at the following code to link an image. Notice how","canonical_url":"https:\/\/SUMMALAI.COM\/?p=768","robots":"max-image-preview:large","keywords":"apache,linux family","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/SUMMALAI.COM\/?p=768#article","name":"2 Solutions for still showing \u201cnot secure\u201d via HTTPS (with SSL) | Summa Lai","headline":"2 Solutions for still showing &#8220;not secure&#8221; via HTTPS (with SSL)","author":{"@id":"https:\/\/SUMMALAI.COM\/?author=2#author"},"publisher":{"@id":"https:\/\/SUMMALAI.COM\/#person"},"image":{"@type":"ImageObject","url":"https:\/\/SUMMALAI.COM\/wp-content\/uploads\/2020\/06\/33.png","@id":"https:\/\/SUMMALAI.COM\/?p=768\/#articleImage","width":419,"height":380},"datePublished":"2020-06-11T11:34:17-07:00","dateModified":"2020-06-11T11:34:17-07:00","inLanguage":"en-US","mainEntityOfPage":{"@id":"https:\/\/SUMMALAI.COM\/?p=768#webpage"},"isPartOf":{"@id":"https:\/\/SUMMALAI.COM\/?p=768#webpage"},"articleSection":"Apache, Linux Family"},{"@type":"BreadcrumbList","@id":"https:\/\/SUMMALAI.COM\/?p=768#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/SUMMALAI.COM#listItem","position":1,"name":"Home","item":"https:\/\/SUMMALAI.COM","nextItem":{"@type":"ListItem","@id":"https:\/\/SUMMALAI.COM\/?cat=5#listItem","name":"Linux Family"}},{"@type":"ListItem","@id":"https:\/\/SUMMALAI.COM\/?cat=5#listItem","position":2,"name":"Linux Family","item":"https:\/\/SUMMALAI.COM\/?cat=5","nextItem":{"@type":"ListItem","@id":"https:\/\/SUMMALAI.COM\/?cat=104#listItem","name":"Apache"},"previousItem":{"@type":"ListItem","@id":"https:\/\/SUMMALAI.COM#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/SUMMALAI.COM\/?cat=104#listItem","position":3,"name":"Apache","item":"https:\/\/SUMMALAI.COM\/?cat=104","nextItem":{"@type":"ListItem","@id":"https:\/\/SUMMALAI.COM\/?p=768#listItem","name":"2 Solutions for still showing &#8220;not secure&#8221; via HTTPS (with SSL)"},"previousItem":{"@type":"ListItem","@id":"https:\/\/SUMMALAI.COM\/?cat=5#listItem","name":"Linux Family"}},{"@type":"ListItem","@id":"https:\/\/SUMMALAI.COM\/?p=768#listItem","position":4,"name":"2 Solutions for still showing &#8220;not secure&#8221; via HTTPS (with SSL)","previousItem":{"@type":"ListItem","@id":"https:\/\/SUMMALAI.COM\/?cat=104#listItem","name":"Apache"}}]},{"@type":"Person","@id":"https:\/\/SUMMALAI.COM\/#person","name":"sladmin","image":{"@type":"ImageObject","@id":"https:\/\/SUMMALAI.COM\/?p=768#personImage","url":"https:\/\/SUMMALAI.COM\/wp-content\/uploads\/2020\/05\/Summa_Logo-150x150.png","width":96,"height":96,"caption":"sladmin"}},{"@type":"Person","@id":"https:\/\/SUMMALAI.COM\/?author=2#author","url":"https:\/\/SUMMALAI.COM\/?author=2","name":"Summa Lai","image":{"@type":"ImageObject","@id":"https:\/\/SUMMALAI.COM\/?p=768#authorImage","url":"https:\/\/SUMMALAI.COM\/wp-content\/uploads\/2020\/05\/Summa_Logo-150x150.png","width":96,"height":96,"caption":"Summa Lai"}},{"@type":"WebPage","@id":"https:\/\/SUMMALAI.COM\/?p=768#webpage","url":"https:\/\/SUMMALAI.COM\/?p=768","name":"2 Solutions for still showing \u201cnot secure\u201d via HTTPS (with SSL) | Summa Lai","description":"Overview A common issue after adding an SSL certificate is that your browser still shows your site as insecure. This most often happens because there are links on your page that still point to HTTP instead of HTTPS. For example, look at the following code to link an image. Notice how","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/SUMMALAI.COM\/#website"},"breadcrumb":{"@id":"https:\/\/SUMMALAI.COM\/?p=768#breadcrumblist"},"author":{"@id":"https:\/\/SUMMALAI.COM\/?author=2#author"},"creator":{"@id":"https:\/\/SUMMALAI.COM\/?author=2#author"},"datePublished":"2020-06-11T11:34:17-07:00","dateModified":"2020-06-11T11:34:17-07:00"},{"@type":"WebSite","@id":"https:\/\/SUMMALAI.COM\/#website","url":"https:\/\/SUMMALAI.COM\/","name":"Summa Lai","description":"Never Stop Learning, Building a Little Wiki...","inLanguage":"en-US","publisher":{"@id":"https:\/\/SUMMALAI.COM\/#person"}}]}},"aioseo_meta_data":{"post_id":"768","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"Article","isEnabled":true},"graphs":[]},"schema_type":null,"schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"breadcrumb_settings":null,"limit_modified_date":false,"ai":null,"created":"2020-12-20 22:14:40","updated":"2024-01-12 04:33:26","seo_analyzer_scan_date":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/SUMMALAI.COM\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/SUMMALAI.COM\/?cat=5\" title=\"Linux Family\">Linux Family<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/SUMMALAI.COM\/?cat=104\" title=\"Apache\">Apache<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t2 Solutions for still showing \u201cnot secure\u201d via HTTPS (with SSL)\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/SUMMALAI.COM"},{"label":"Linux Family","link":"https:\/\/SUMMALAI.COM\/?cat=5"},{"label":"Apache","link":"https:\/\/SUMMALAI.COM\/?cat=104"},{"label":"2 Solutions for still showing &#8220;not secure&#8221; via HTTPS (with SSL)","link":"https:\/\/SUMMALAI.COM\/?p=768"}],"_links":{"self":[{"href":"https:\/\/SUMMALAI.COM\/index.php?rest_route=\/wp\/v2\/posts\/768","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/SUMMALAI.COM\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/SUMMALAI.COM\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/SUMMALAI.COM\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/SUMMALAI.COM\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=768"}],"version-history":[{"count":0,"href":"https:\/\/SUMMALAI.COM\/index.php?rest_route=\/wp\/v2\/posts\/768\/revisions"}],"wp:attachment":[{"href":"https:\/\/SUMMALAI.COM\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=768"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/SUMMALAI.COM\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=768"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/SUMMALAI.COM\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=768"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}