Keywords: WordPress - Google Cloud Platform - Technical issue - Secure Connections (SSL/HTTPS)
bnsupport ID: a268a20c-5d95-f7b8-d3e3-14b4521fcede
Today we used the All-in-One Migration plugin to migrate a WordPress site from cPanel to Google Cloud Platform (backend of Bitnami Wordpress, single site), with CloudFlare.
The HTTP works fine after the migration then we followed this guide to install SSL and enable HTTPS.
But later on we noticed 2 errors regarding CSS is still pointing HTTP address therefore HTTPS can't be enabled.
Here is the error (not sure if it is allowed to post URL / IP so I used xx to replace them)
Mixed Content: The page at 'https://xxx.com.au/' was loaded over HTTPS, but requested an insecure stylesheet 'http://(GCP-VM-static-IP)/wp-content/themes/entrada/admin/demo_import/modern/modern.css?ver=5.2.2'. This request has been blocked; the content must be served over HTTPS.
I have tried the followings but still no luck
1 - Restart the VM
2 - Disabled the theme then re-activated
3 - Confirmed / checked domain address is showing under "Permalink Settings" section not IP
4 - Checked CloudFlare but I can only see A record is now pointing to this VM so it should be fine.