Warning: session_start(): Unable to clear session lock record in /www/wwwroot/reaff.com/wp-content/themes/Autumn-Pro/functions.php on line 5

Warning: session_start(): Failed to read session data: memcached (path: 127.0.0.1:11211) in /www/wwwroot/reaff.com/wp-content/themes/Autumn-Pro/functions.php on line 5
使用HTTPS包含HTTP网址错误的解决办法 – 王板汪之家

使用HTTPS包含HTTP网址错误的解决办法

cera cera

本文转自 yunloc.com

当网站使用https 的时候,如果引用 http 地址的话会报 https 错误,甚至打不开 https 站点,这里提供下解决办法。

一行代码搞定,把下面代码插在 head 区,则浏览器会自行把所有的引用都切换为 https:

<meta http-equiv=“Content-Security-Policy” content=“upgrade-insecure-requests”>

 

cera cloudiplc tengxunyun

相关推荐