{"id":391,"date":"2021-11-05T10:56:34","date_gmt":"2021-11-05T10:56:34","guid":{"rendered":"https:\/\/blog.hostinger.io\/id\/support\/2021\/11\/05\/4468993-bagaimana-cara-mengatasi-error-konten-campuran-di-prestashop\/"},"modified":"2025-08-26T20:11:49","modified_gmt":"2025-08-26T20:11:49","slug":"4468993-bagaimana-cara-mengatasi-error-konten-campuran-di-prestashop","status":"publish","type":"post","link":"https:\/\/www.hostinger.com\/id\/support\/4468993-bagaimana-cara-mengatasi-error-konten-campuran-di-prestashop\/","title":{"rendered":"Bagaimana Cara Mengatasi Error Konten Campuran di PrestaShop?"},"content":{"rendered":"<p class=\"no-margin\">Konten campuran mengindikasikan kalau Anda memuat gambar atau konten yang link-nya HTTP dan bukannya HTTPS. Untuk mengatasi error ini, Anda hanya perlu mengganti semua link tersebut dari HTTP ke HTTPS.<\/p><p class=\"no-margin\">\n<\/p><p class=\"no-margin\">Pertama-tama, <i>force<\/i> website PrestaShop agar menggunakan HTTPS. Caranya, buka <b>Configure <\/b>&rarr; <b>Shop Parameters<\/b> &rarr; <b>General<\/b>. Setelah itu, pilih <b>Enable SSL on all pages<\/b>:<\/p><p class=\"no-margin\">\n<\/p><div class=\"intercom-container intercom-align-center\"><img decoding=\"async\" src=\"\/id\/support\/wp-content\/uploads\/sites\/57\/2021\/11\/2badaffb-6b61-464a-b541-54dbbc9c5182.jpg\"><\/div><p class=\"no-margin\">\n<\/p><p class=\"no-margin\">Kini website Anda akan menggunakan HTTPS &#128522;<\/p><p class=\"no-margin\">\n<\/p><p class=\"no-margin\">Jika error konten campuran tetap muncul, tambahkan baris ini ke file .htaccess:<\/p><p class=\"no-margin\">\n<\/p><pre><code>Header always set Content-Security-Policy: upgrade-insecure-requests<\/code><\/pre><p class=\"no-margin\">\n<\/p><p class=\"no-margin\">Dengan menambahkan baris ini, semua konten campuran akan otomatis menggunakan HTTPS.<\/p><p class=\"no-margin\">\n<\/p><p class=\"no-margin\">Selesai! Kini website Anda sudah ditandai sebagai website yang aman (Secure). &#128522;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Pembahasan mengenai konten campuran dan cara mengatasinya di PrestaShop<\/p>\n","protected":false},"author":581,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"include_on_kodee":true,"footnotes":""},"categories":[189],"tags":[],"class_list":["post-391","post","type-post","status-publish","format-standard","hentry","category-konten-campuran"],"hreflangs":[{"locale":"en-US","link":"https:\/\/www.hostinger.com\/support\/4468993-how-to-fix-the-mixed-content-error-in-prestashop-at-hostinger\/","default":1},{"locale":"es-ES","link":"https:\/\/www.hostinger.com\/es\/support\/4468993-como-corregir-errores-de-contenido-mixto-en-prestashop-en-hostinger\/","default":0},{"locale":"fr-FR","link":"https:\/\/www.hostinger.com\/fr\/support\/4468993-comment-corriger-une-erreur-de-contenu-mixte-dans-prestashop-chez-hostinger\/","default":0},{"locale":"id-ID","link":"https:\/\/www.hostinger.com\/id\/support\/4468993-bagaimana-cara-mengatasi-error-konten-campuran-di-prestashop\/","default":0},{"locale":"pt-PT","link":"https:\/\/www.hostinger.com\/br\/support\/4468993-como-corrigir-o-erro-de-conteudo-misto-no-prestashop-na-hostinger\/","default":0}],"include_on_kodee":true,"_links":{"self":[{"href":"https:\/\/www.hostinger.com\/id\/support\/wp-json\/wp\/v2\/posts\/391","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.hostinger.com\/id\/support\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.hostinger.com\/id\/support\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.hostinger.com\/id\/support\/wp-json\/wp\/v2\/users\/581"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hostinger.com\/id\/support\/wp-json\/wp\/v2\/comments?post=391"}],"version-history":[{"count":1,"href":"https:\/\/www.hostinger.com\/id\/support\/wp-json\/wp\/v2\/posts\/391\/revisions"}],"predecessor-version":[{"id":2830,"href":"https:\/\/www.hostinger.com\/id\/support\/wp-json\/wp\/v2\/posts\/391\/revisions\/2830"}],"wp:attachment":[{"href":"https:\/\/www.hostinger.com\/id\/support\/wp-json\/wp\/v2\/media?parent=391"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hostinger.com\/id\/support\/wp-json\/wp\/v2\/categories?post=391"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hostinger.com\/id\/support\/wp-json\/wp\/v2\/tags?post=391"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}