I've inherited a large site and am trying to push it to HTTPS. In testing, I've found a locally saved font saved as a .css file being loaded insecurely that I can't find the reference to searching the page source or template files that seem relevant. It's a Drupal 7 set-up based on Zen-grid theme. I'm assuming some nested file or php doc must be making the call and I'm just not familiar enough with the site yet to know where to look.
Where could it be? The file itself is saved in what appears to be a generated directory, with a generated file name with the sites/default/files/fonts path. Can I overwrite how it's being called somewhere without having to find it?
答案 0 :(得分:0)
好的,事实证明,这是一个动态加载的webfont。我无法找到电话的原因是因为它是在客户门户网站的字体供应商网站上配置的。
最终我需要重置它预期能够加载字体的URL(即使它是本地的网站),并重新加载fonts目录以便正确找到它。
顺便说一句,我尝试在通过settings.php文件实时推送全局HTTPS重定向规则之前执行此操作。由于字体供应商试图验证'重新发布字体时的位置。最后,我必须在重定向到位之后再次将字体向上推,然后它最终会起作用。