I have 3 sites in a Multisite environment . I also have SSL enabled for the admin section . But I get lots of “Mixed Content” errors on the admin only for ONE site . As a result many scripts and style sheets in the admin are broken .
If there was some problem with my htaccess rules or the wp_config file, then there should have been the same problem on the other sites too . But the other 2 sites work properly .
I have almost same plugins installed on all three sites . I tried deactivating the plugins . Also tried vainly using the basic WordPress 2015 theme. So I have excluded Plugins and Theme as causes for this problem .
Can anyone please suggest as to why this can be happening ?
Blocked loading mixed display content "http://sitename/wp-includes/js/thickbox/loadingAnimation.gif"
Blocked loading mixed active content "http://sitename/wp-content/plugins/capsman/framework/styles/admin.css?ver=0.8"
Blocked loading mixed active content "http://sitename/wp-content/plugins/capsman/admin.css?ver=1.3.2"
Blocked loading mixed active content "http://sitename/wp-content/plugins/capsman/framework/styles/admin.css?ver=0.8"
Blocked loading mixed active content "http://sitename/wp-content/plugins/capsman/admin.css?ver=1.3.2"
Blocked loading mixed display content "http://sitename/wp-content/themes/pagelines/sections/boxes/icon.png"
Blocked loading mixed display content "http://sitename/wp-content/themes/pagelines/sections/features/icon.png"
Blocked loading mixed display content "http://sitename/wp-content/themes/pagelines/sections/banners/icon.png"
Blocked loading mixed active content "http://sitename/wp-content/plugins/edit-flow/modules/custom-status/lib/custom-status.css?ver=0.8"
Blocked loading mixed active content "http://sitename/wp-content/plugins/wordpress-seo/css/edit-page.min.css?ver=2.1.1"
Blocked loading mixed active content "http://sitename/wp-content/plugins/edit-flow/modules/editorial-metadata/lib/editorial-metadata.css?ver=0.8"
Blocked loading mixed active content "http://sitename/wp-content/plugins/edit-flow/common/css/edit-flow-admin.css?ver=0.8"
Blocked loading mixed active content "http://sitename/wp-content/plugins/captcha/css/style.css?ver=4.2.2"
Blocked loading mixed active content "http://sitename/wp-content/plugins/ig-analytics//assets/css/admin.css?ver=1.3"
Blocked loading mixed active content "http://sitename/wp-content/plugins/edit-flow/common/css/jquery.ui.datepicker.css?ver=0.8"
Blocked loading mixed active content "http://sitename/wp-content/plugins/edit-flow/common/css/jquery.ui.theme.css?ver=0.8"
Blocked loading mixed active content "http://sitename/wp-content/plugins/edit-flow/common/css/jquery.listfilterizer.css?ver=0.8"
Blocked loading mixed active content "http://sitename/wp-content/plugins/edit-flow/modules/notifications/lib/notifications.css?ver=0.8"
Blocked loading mixed active content "http://sitename/wp-content/plugins/edit-flow/modules/user-groups/lib/user-groups.css?ver=0.8"
Blocked loading mixed display content "http://sitename/files/2015/06/500201259536538-100x100.jpg"
Blocked loading mixed display content "http://sitename/files/2015/06/Econsultancy-Mobile-Survey-100x100.jpg"
Blocked loading mixed display content "http://sitename/files/2015/06/ThinkstockPhotos-482221483-100x100.jpg"
Blocked loading mixed display content "http://sitename/files/2015/06/seo-localization-100x100.jpg"
Blocked loading mixed display content "http://sitename/files/2015/05/ID-10091333-100x100.jpg"
Blocked loading mixed display content "http://sitename/files/2015/05/South-Korea-Flag-On-Hand-100x100.jpg"
Blocked loading mixed active content "http://sitename/wp-content/plugins/search-everything/static/css/admin.css?ver=8.1.3"
Blocked loading mixed active content "http://sitename/wp-content/plugins/search-everything/static/css/se-compose.css?ver=8.1.3"
Blocked loading mixed active content "http://sitename/wp-content/plugins/ig-analytics//assets/js/admin.js?ver=1.3"
Blocked loading mixed active content "http://sitename/wp-content/plugins/search-everything/static/js/searcheverything.js?ver=8.1.3"
Blocked loading mixed active content "http://sitename/wp-content/themes/pagelines/admin/css/admin.css?ver=2.4.6"
Blocked loading mixed display content "http://sitename/files/2015/05/Australian-Landscape-100x100.jpg"
Blocked loading mixed display content "http://sitename/files/2015/05/Australian-Flag-100x100.jpg"
Blocked loading mixed display content "http://sitename/files/2015/05/Digital-Content-Strategy-100x100.jpg"
Blocked loading mixed display content "http://sitename/files/2015/05/dms15_singapore_sydney_banner_900x600px-100x100.jpg"
Blocked loading mixed display content "http://sitename/files/2015/05/Digital-Directionsl-100x100.jpg"
Blocked loading mixed display content "http://sitename/files/2015/04/2015_gartner_mq_mccm_1600x900-1200x675-100x100.jpg"
Blocked loading mixed display content "http://sitename/files/2015/05/mobile-marketing-asia-100x100.jpg"
Blocked loading mixed display content "http://sitename/files/2015/04/mobile-video-marketing-100x100.jpg"
Blocked loading mixed display content "http://sitename/files/2015/03/2400x800-Landing-pg-Banner2-100x100.jpg"
Blocked loading mixed display content "http://sitename/files/2015/04/dms15_singapre_sydney_banner_3400x2267-100x100.jpg"
Blocked loading mixed display content "http://sitename/files/2015/04/Nissan-Motor-Corporation_Final-100x100.jpg"
Blocked loading mixed display content "http://sitename/wp-content/plugins/bwp-google-xml-sitemaps/images/icon_menu.png"
Blocked loading mixed display content "http://sitename/wp-content/plugins/captcha/images/px.png"
Blocked loading mixed display content "http://sitename/wp-content/plugins/edit-flow/modules/settings/lib/eflogo_s32.png"
Blocked loading mixed active content "http://sitename/wp-includes/js/wp-emoji-release.min.js?ver=4.2.2"
Blocked loading mixed active content "http://sitename/wp-content/plugins/search-everything/static/js/searcheverything.js?ver=8.1.3"
Blocked loading mixed active content "http://sitename/wp-content/plugins/edit-flow/modules/custom-status/lib/custom-status.js?ver=0.8"
Blocked loading mixed active content "http://sitename/wp-content/plugins/wordpress-seo/js/wp-seo-admin-global.min.js?ver=2.1.1"
Blocked loading mixed active content "http://sitename/wp-content/plugins/edit-flow/common/js/jquery-ui-timepicker-addon.js?ver=0.8"
Blocked loading mixed active content "http://sitename/wp-content/plugins/edit-flow/common/js/ef_date.js?ver=0.8"
Blocked loading mixed active content "http://sitename/wp-content/plugins/edit-flow/modules/calendar/lib/calendar.js?ver=0.8"
Blocked loading mixed active content "http://sitename/wp-content/plugins/edit-flow/common/js/jquery.listfilterizer.js?ver=0.8"
Blocked loading mixed active content "http://sitename/wp-content/plugins/edit-flow/common/js/jquery.quicksearch.js?ver=0.8"
Blocked loading mixed active content "http://sitename/wp-content/plugins/edit-flow/modules/notifications/lib/notifications.js?ver=0.8"
Blocked loading mixed active content "http://sitename/wp-content/plugins/edit-flow/modules/user-groups/lib/user-groups.js?ver=0.8"
Blocked loading mixed active content "http://sitename/wp-content/themes/pagelines/admin/css/admin.css?ver=2.4.6"
Blocked loading mixed display content "http://sitename/wp-content/themes/pagelines/sections/boxes/icon.png"
Blocked loading mixed display content "sitename/wp-content/themes/pagelines/sections/features/icon.png"
Blocked loading mixed display content "http://sitename/wp-content/themes/pagelines/sections/banners/icon.png"
Blocked loading mixed display content "http://sitename/files/2015/06/500201259536538-100x100.jpg"
Blocked loading mixed display content "http://sitename/files/2015/06/Econsultancy-Mobile-Survey-100x100.jpg"
Blocked loading mixed display content "http://sitename/files/2015/06/ThinkstockPhotos-482221483-100x100.jpg"
Blocked loading mixed display content "http://sitename/files/2015/06/seo-localization-100x100.jpg"
Blocked loading mixed display content "http://sitename/files/2015/05/ID-10091333-100x100.jpg"
Blocked loading mixed display content "http://sitename/files/2015/05/South-Korea-Flag-On-Hand-100x100.jpg"
Blocked loading mixed display content "http://sitename/files/2015/05/Australian-Landscape-100x100.jpg"
Blocked loading mixed display content "http://sitename/files/2015/05/Australian-Flag-100x100.jpg"
Blocked loading mixed display content "http://sitename/files/2015/05/Digital-Content-Strategy-100x100.jpg"
Blocked loading mixed display content "http://sitename/files/2015/05/dms15_singapore_sydney_banner_900x600px-100x100.jpg"
Blocked loading mixed display content "http://sitename/files/2015/05/Digital-Directionsl-100x100.jpg"
Blocked loading mixed display content "http://sitename/files/2015/05/dms15_singapore_sydney_banner_900x600px-100x100.jpg"
Blocked loading mixed display content "http://sitename/files/2015/04/2015_gartner_mq_mccm_1600x900-1200x675-100x100.jpg"
Blocked loading mixed display content "http://sitename/files/2015/05/mobile-marketing-asia-100x100.jpg"
Blocked loading mixed display content "http://sitename/wp-content/plugins/captcha/images/px.png"
Blocked loading mixed display content "http://sitename/wp-content/plugins/edit-flow/modules/settings/lib/eflogo_s32.png"
Blocked loading mixed display content "http://sitename/wp-content/plugins/bwp-google-xml-sitemaps/images/icon_menu.png"
Blocked loading mixed active content "http://sitename/wp-content/plugins/wordpress-seo/js/wp-seo-admin-global.min.js?ver=2.1.1"
Blocked loading mixed active content "http://sitename/wp-content/plugins/edit-flow/common/js/jquery-ui-timepicker-addon.js?ver=0.8"
Blocked loading mixed active content "http://sitename/wp-content/plugins/edit-flow/common/js/ef_date.js?ver=0.8"
Blocked loading mixed active content "http://sitename/wp-content/plugins/edit-flow/modules/calendar/lib/calendar.js?ver=0.8"
Blocked loading mixed active content "http://sitename/wp-content/plugins/edit-flow/modules/custom-status/lib/custom-status.js?ver=0.8"
Blocked loading mixed active content "http://sitename/wp-content/plugins/edit-flow/common/js/jquery.listfilterizer.js?ver=0.8"
Blocked loading mixed active content "http://sitename/wp-content/plugins/edit-flow/common/js/jquery.quicksearch.js?ver=0.8"
Blocked loading mixed active content "http://sitename/wp-content/plugins/edit-flow/modules/notifications/lib/notifications.js?ver=0.8"
3
Answers
I will guide you step by step how you can easily solve this error:
Step#1: First you need to identify where that mixed content is, to identify mixed content please open your website in google chrome and right click on your website web page and select Inspect element, when inspect element open please click console and see where is mixed content see the below image
![enter image description here](data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%200%200'%3E%3C/svg%3E)
Step#2: You notice in above image mixed content issue happen when we are loading some data from insecure website, so host all images and data on your website..
this way i resolve mixed content issues in my website i hope it work of your..
Add the following to wp-config.php:
Since these answers didn’t solve my problem, hopefully mine will help someone:
Just add:
to
optbitnamiapacheconfhttpd.conf
, right below "User daemon" and "Group daemon", around line 177, outside of any<IfModule>
tag.My setup is a normal WordPress app running on
AWS Lightsail
with SSL enabled throughApache
.This will automatically make all HTTP based requests into HTTPS. For more info, please read this.