Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Wordpress Mixed Content Error

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" 
like image 823
Anika Sayed Avatar asked Jun 03 '15 07:06

Anika Sayed


People also ask

What is mixed content in WordPress?

What Is a Mixed Content Warning? A mixed content warning appears in a user's browser when the WordPress site they're trying to visit is loading HTTPS and HTTP scripts or content at the same time. This can cause problems since HTTP and HTTPS are completely separate protocols.


1 Answers

Add the following to wp-config.php:

 $_SERVER['HTTPS'] = 'on';
like image 180
K Ravi Avatar answered Oct 06 '22 01:10

K Ravi