The preview could not load due to a http/https mismatch. Please check that HTTPS is properly configured on your site

I received the error “The preview could not load due to a http/https mismatch. Please check that HTTPS is properly configured on your site.” Since I’m using a multi-site, I wasn’t able to change the WP_HOME and WP_SITEURL in the wp-config as suggested. The below solution worked for me and I thought to share it for those that encounter the same issue:

  1. Comment out the multisite code in wp-config.php
  2. Login again to WP
  3. Go back to settings and reading as if a single site.
  4. change http to https
  5. uncomment multisite code in wp-content
  6. Proceed as normal

This is the site where I found the solution: https://wordpress.stackexchange.com/questions/313294/multi-site-change-the-url-of-main-site-to-https

Hi Nellie,

Thanks for sharing the solution, it will definitely help others.

Thanks

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.