The Browser Blocked A Web Font On A Static Portfolio And The Page Fell Apart

httpsmixed-contentssl7 replies · 386 views · started
  1. Finally moved a static porftolio to HTTPS. Certificate installed, the host says it's valid, the checker says it's valid. But visitors see a padlock with a warning triangle.

    I think it has to do with a web font still loading over plain http, but I have no idea where those links come from. I didn't hardocde anything, at least not on purpose. How do I find every insecure reference without reading every file by hand?

    thinking

    6
  2. hmmm is TLS terminated at a load balancer or CDN in front of the server? ?

    9 0 helpful
  3. hmmm dumb question but how do i even check the BIOS ??

    thinking

    2 0 helpful
  4. Use protocol-correct embeds for third-party content. Old video or map embed codes often have http:// in teh iframe src. replace them with the current https embed code from the provider. hope that helps :)

    1 2 helpful
  5. @gfontaine what did u end up doing in teh end. spent half the night on padlock and im still not done ??

    2 0 helpful
  6. oh ive been there lol open DevTools > Console, each mixed content warning names the exact insecure URL: Mixed Content: The page at 'https://...' was loaded over HTTPS, but requested an insecure resource 'http://...'. Collect those URLs; teh domain and path usually tell u whether it's theme code, uploaded content or a third-party embed.

    5 1 helpful
  7. been there man for WordPress, old URLs live in the database. Use WP-CLI: wp search-replace 'http://example.com' 'https://example.com' --all-tables --dry-run, check the count, then run it without --dry-run 🔥 it handles serialized data safely, unlike a raw SQL replace 🤦 take a database backup first. worked for me anyway 🤷

    0 1 helpful

Reply to this topic

Sign in or create an account to reply.