{"id":1965114,"date":"2025-05-04T22:42:30","date_gmt":"2025-05-05T02:42:30","guid":{"rendered":"https:\/\/dev.theeventscalendar.com\/knowledgebase\/?p=1965114"},"modified":"2025-05-04T22:42:31","modified_gmt":"2025-05-05T02:42:31","slug":"troubleshooting-mixed-content-or-https-issues","status":"publish","type":"post","link":"https:\/\/dev.theeventscalendar.com\/knowledgebase\/troubleshooting-mixed-content-or-https-issues\/","title":{"rendered":"Troubleshooting Mixed Content or HTTPS Issues"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\" id=\"h-overview\">Overview<\/h2>\n\n\n\n<p>If your website is showing a <strong>\u201cNot Secure\u201d<\/strong> warning or your events page isn&#8217;t loading styles or scripts correctly after switching to HTTPS, you&#8217;re likely facing a <strong>mixed content<\/strong> issue. This happens when your site loads some resources (like images, scripts, or stylesheets) over HTTP on a page served over HTTPS..<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-what-is-mixed-content\">What Is Mixed Content?<\/h2>\n\n\n\n<p>When a secure (HTTPS) page loads a resource (such as an image, iframe, script, or stylesheet) using an insecure (HTTP) URL, browsers may block those resources or show warnings, breaking functionality or layout.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-common-symptoms\">Common Symptoms<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Event pages are missing styles or scripts<\/li>\n\n\n\n<li>Console errors like:<\/li>\n\n\n\n<li><code>Mixed Content: The page was loaded over HTTPS, but requested an insecure resource http:\/\/example.com\/...<\/code><\/li>\n\n\n\n<li>Browser warnings: <strong>\u201cNot Secure\u201d<\/strong> in the address bar<\/li>\n\n\n\n<li>Embedded maps or videos fail to load<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">How to Fix Mixed Content Issues<\/h3>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>Update Site URLs<\/strong><br>Ensure your WordPress and Site URLs use <code>https:\/\/<\/code>.<br>Go to:<br><strong>WordPress Dashboard \u2192 Settings \u2192 General<\/strong><br>Update both fields to begin with <code>https:\/\/<\/code>.<br><\/li>\n\n\n\n<li><strong>Use a Mixed Content Fixer Plugin<\/strong><br>Install a plugin like <a href=\"https:\/\/wordpress.org\/plugins\/really-simple-ssl\/\" target=\"_blank\" rel=\"noreferrer noopener\">Really Simple SSL<\/a>. It detects mixed content and helps you transition to HTTPS safely.<br><\/li>\n\n\n\n<li><strong>Replace Old HTTP Links in the Database<\/strong><br>Use a plugin like <a href=\"https:\/\/wordpress.org\/plugins\/better-search-replace\/\" target=\"_blank\" rel=\"noreferrer noopener\">Better Search Replace<\/a> to scan and update old <code>http:\/\/<\/code> URLs in your posts, pages, and settings:<br>\ud83d\udd0dSearch for: <code>http:\/\/yourdomain.com<\/code><br>\ud83d\udc49Replace with: <code>https:\/\/yourdomain.com<\/code><br><br>Run a <strong>dry run first<\/strong> to preview changes.<br><\/li>\n\n\n\n<li><strong>Update Theme or Plugin Assets<\/strong>ot drag-and-drop Elementor building.<br>If your theme or plugins (including custom code) load scripts or styles using hardcoded HTTP URLs, update those to use <code>https:\/\/<\/code> or protocol-relative URLs (<code>\/\/<\/code>).<br><\/li>\n\n\n\n<li><strong>Check Embedded Content<\/strong><br>Ensure embedded resources (like maps, iframes, or videos) use HTTPS. For example, if you&#8217;re embedding a Google Map, use the HTTPS version of the embed code.<br><\/li>\n<\/ol>\n\n\n\n<h3 class=\"wp-block-heading\">Bonus Tip: Use Browser Dev Tools<\/h3>\n\n\n\n<p>Open <strong>Developer Tools<\/strong> in Chrome (F12 or right-click \u2192 Inspect), go to the <strong>Console tab<\/strong>, and refresh the page. Look for errors mentioning <code>Mixed Content<\/code>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Overview If your website is showing a \u201cNot Secure\u201d warning or your events page isn&#8217;t loading styles or scripts correctly after switching to HTTPS, you&#8217;re likely facing a mixed content issue. This happens when your site loads some resources (like images, scripts, or stylesheets) over HTTP on a page served over HTTPS.. What Is Mixed&#8230;<\/p>\n","protected":false},"author":48,"featured_media":1955565,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_kad_blocks_custom_css":"","_kad_blocks_head_custom_js":"","_kad_blocks_body_custom_js":"","_kad_blocks_footer_custom_js":"","_swpsp_post_exclude":false,"_kad_post_transparent":"","_kad_post_title":"","_kad_post_layout":"","_kad_post_sidebar_id":"","_kad_post_content_style":"","_kad_post_vertical_padding":"","_kad_post_feature":"","_kad_post_feature_position":"","_kad_post_header":false,"_kad_post_footer":false,"ep_exclude_from_search":false,"footnotes":""},"categories":[93],"tags":[85],"stellar-product-taxonomy":[158,161],"class_list":["post-1965114","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-errors","tag-testing","stellar-product-taxonomy-events-calendar-pro","stellar-product-taxonomy-the-events-calendar"],"acf":[],"taxonomy_info":{"category":[{"value":93,"label":"Troubleshooting"}],"post_tag":[{"value":85,"label":"testing"}],"stellar-product-taxonomy":[{"value":158,"label":"Events Calendar Pro"},{"value":161,"label":"The Events Calendar"}]},"featured_image_src_large":["https:\/\/images.theeventscalendar.com\/kb\/uploads\/2023\/02\/social-share-1024x538.png",1024,538,true],"author_info":{"display_name":"Paul Acido","author_link":"https:\/\/dev.theeventscalendar.com\/knowledgebase\/author\/paulacido\/"},"comment_info":0,"category_info":[{"term_id":93,"name":"Troubleshooting","slug":"errors","term_group":0,"term_taxonomy_id":93,"taxonomy":"category","description":"","parent":0,"count":67,"filter":"raw","term_order":"0","cat_ID":93,"category_count":67,"category_description":"","cat_name":"Troubleshooting","category_nicename":"errors","category_parent":0}],"tag_info":[{"term_id":85,"name":"testing","slug":"testing","term_group":0,"term_taxonomy_id":85,"taxonomy":"post_tag","description":"","parent":0,"count":11,"filter":"raw","term_order":"0"}],"_links":{"self":[{"href":"https:\/\/dev.theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/posts\/1965114","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/dev.theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/dev.theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/dev.theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/users\/48"}],"replies":[{"embeddable":true,"href":"https:\/\/dev.theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/comments?post=1965114"}],"version-history":[{"count":6,"href":"https:\/\/dev.theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/posts\/1965114\/revisions"}],"predecessor-version":[{"id":1965121,"href":"https:\/\/dev.theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/posts\/1965114\/revisions\/1965121"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/dev.theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/media\/1955565"}],"wp:attachment":[{"href":"https:\/\/dev.theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/media?parent=1965114"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/dev.theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/categories?post=1965114"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/dev.theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/tags?post=1965114"},{"taxonomy":"stellar-product-taxonomy","embeddable":true,"href":"https:\/\/dev.theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/stellar-product-taxonomy?post=1965114"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}