Lorem ipsum dolor sit amet

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.

Asia Pacific BGP Self-Healing Network
10+ International Lines, Second-Level Coverage Across Asia Pacific Real-Time Network Health Monitoring Intelligent Router Switching
Intelligent Management
Intelligent power control, one-click restart/power on/off Diverse system images, one-click reinstallation Inbound/outbound flow monitoring
High-speed CN2 GIA direct connection
CN2 line direct connection between China and Hong Kong Ping speed as low as 5ms, zero packet loss per thousand attempts Online rate up to 99.9%
Premium Service
Massive Machine Reserves for Rapid Deployment WarnerCloud Self-Operated T3+ Data Center 24/7 Operations and Maintenance Team

Wesbytes Knowledge Base

Search our articles or browse by category below

How to Fix SSL Mixed Content Issues on WordPress

Last modified: July 2, 2022
You are here:
Estimated reading time: < 1 min

Fix SSL Mixed Content Issues on WordPress

There are certain URLs with http in your site’s code, which is referred to as mixed content. On a third-party website, you can verify this: https://www.whynopadlock.com/

Enter your site’s https URL first, and it will display all the results for URLs with http in your site code.

On the other hand, you may just right-click on the page and view the page source in your browser. Next, select “see page source.” If you look in the site code for “http://,” you will see URLs.

This can be fixed by placing the following aggressive redirection code at the top of your domain’s.htaccess file.

RewriteEngine On
RewriteCond %{SERVER_PORT} 80
RewriteCond %{HTTP_HOST} ^(www\.)?coolexample\.com
RewriteRule ^(.*)$ https://www.coolexample.com/$1 [R,L]
Was this article helpful?
Dislike 0
Views: 6