{"id":1213,"date":"2020-09-22T06:45:12","date_gmt":"2020-09-22T06:45:12","guid":{"rendered":"https:\/\/blog.hostinger.io\/support\/2020\/09\/22\/4468940-how-to-fix-the-mixed-content-error-in-joomla-at-hostinger\/"},"modified":"2025-08-27T07:10:36","modified_gmt":"2025-08-27T07:10:36","slug":"4468940-how-to-fix-the-mixed-content-error-in-joomla-at-hostinger","status":"publish","type":"post","link":"https:\/\/www.hostinger.com\/support\/4468940-how-to-fix-the-mixed-content-error-in-joomla-at-hostinger\/","title":{"rendered":"How to Fix the Mixed Content Error in Joomla at Hostinger"},"content":{"rendered":"<p class=\"no-margin\">Mixed content occurs when you attempt to load images or other content using HTTP instead of HTTPS. To fix this, all you need to do is edit the links on your page so that they start with HTTPS instead.<\/p><p class=\"no-margin\">To force your Joomla website to use HTTPS, navigate to <b>Global Configuration<\/b> &rarr; <b>Server settings<\/b>,<b> <\/b>locate the <b>Force HTTPS <\/b>option, and<b> <\/b>choose <b>Entire site<\/b>:<\/p><p class=\"no-margin\">\n<\/p><div class=\"intercom-container intercom-align-center\"><img decoding=\"async\" src=\"\/support\/wp-content\/uploads\/sites\/55\/2020\/09\/7e818cd7-7afe-4283-b51e-dd4dbc878628.jpg\" alt=\"The Joomla global configuration and how to force HTTPS for the entire site\"><\/div><p class=\"no-margin\">\n<\/p><p class=\"no-margin\">Next, open your website&rsquo;s <b>.htaccess<\/b> file using the <a href=\"\/support\/7949267-how-to-use-the-file-editor-at-hostinger\" target=\"_blank\" class=\"intercom-content-link\">file manager<\/a> and add the following lines after <b>RewriteEngine On<\/b>:<\/p><pre><code>RewriteCond %{HTTPS} !=on<br>RewriteRule ^ https:\/\/%{HTTP_HOST}%{REQUEST_URI} [L,R=301]<\/code><\/pre><p class=\"no-margin\">Save the changes and reload your site &ndash; it should be working properly with HTTPS.<\/p><p class=\"no-margin\">\n<\/p><p class=\"no-margin\">If you still get a mixed content warning, add the <b><a href=\"https:\/\/extensions.joomla.org\/extension\/db-replacer\/\" target=\"_blank\" class=\"intercom-content-link\" rel=\"noopener\">DB Replacer<\/a> <\/b>extension to your Joomla installation and use it to change all HTTP links to HTTPS automatically. <\/p><div class=\"intercom-interblocks-callout\" style=\"background-color: #e3e7fa80;border-color: #334bfa33\">\n<p class=\"no-margin\">Learn more: <a href=\"https:\/\/docs.joomla.org\/Enabling_HTTPS_on_your_site\" target=\"_blank\" class=\"intercom-content-link\" rel=\"noopener\">Enabling HTTPS on your site &ndash; Joomla! Documentation<\/a> &#128161; <\/p>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>All about mixed content issues and how to fix them in Joomla<\/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":[214],"tags":[],"class_list":["post-1213","post","type-post","status-publish","format-standard","hentry","category-mixed-content"],"hreflangs":[{"locale":"en-US","link":"https:\/\/www.hostinger.com\/support\/4468940-how-to-fix-the-mixed-content-error-in-joomla-at-hostinger\/","default":1},{"locale":"es-ES","link":"https:\/\/www.hostinger.com\/es\/support\/4468940-como-corregir-errores-de-contenido-mixto-en-hostinger-joomla\/","default":0},{"locale":"fr-FR","link":"https:\/\/www.hostinger.com\/fr\/support\/4468940-comment-corriger-une-erreur-de-contenu-mixte-dans-joomla-chez-hostinger\/","default":0},{"locale":"id-ID","link":"https:\/\/www.hostinger.com\/id\/support\/4468940-bagaimana-cara-mengatasi-error-konten-campuran-di-joomla-di-hostinger\/","default":0},{"locale":"pt-PT","link":"https:\/\/www.hostinger.com\/br\/support\/4468940-como-corrigir-o-erro-de-conteudo-misto-no-joomla\/","default":0}],"include_on_kodee":true,"_links":{"self":[{"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts\/1213","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/users\/581"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/comments?post=1213"}],"version-history":[{"count":1,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts\/1213\/revisions"}],"predecessor-version":[{"id":4744,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts\/1213\/revisions\/4744"}],"wp:attachment":[{"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/media?parent=1213"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/categories?post=1213"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/tags?post=1213"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}