返信先: 独自SSL導入でusces_cart.cssが適用されない問題について

フォーラム 使い方全般 独自SSL導入でusces_cart.cssが適用されない問題について 返信先: 独自SSL導入でusces_cart.cssが適用されない問題について

#73439
saltydog
参加者

追記です。

カートページをchromeでコンソール表示したところ、下記のような記載がありました。
トップページ以外でもほぼ同じ内容です。
(ドメイン部分は○○.comとしています)

○○.com/:182 Mixed Content: The page at ‘https://○○.com/usces-cart/’ was loaded over HTTPS, but requested an insecure stylesheet ‘http://○○.com/wp-content/plugins/usc-e-shop/css/jquery/jquery-ui-1.10.3.custom.min.css?ver=4.1’. This request has been blocked; the content must be served over HTTPS.

○○.com/:183 Mixed Content: The page at ‘https://○○.com/usces-cart/’ was loaded over HTTPS, but requested an insecure stylesheet ‘http://○○.com/wp-content/plugins/usc-e-shop/css/usces_paypal_style.css?ver=4.1’. This request has been blocked; the content must be served over HTTPS.

○○.com/:184 Mixed Content: The page at ‘https://○○.com/usces-cart/’ was loaded over HTTPS, but requested an insecure stylesheet ‘http://○○.com/wp-content/plugins/table-of-contents-plus/screen.css?ver=1404’. This request has been blocked; the content must be served over HTTPS.

○○.com/:191 Mixed Content: The page at ‘https://○○.com/usces-cart/’ was loaded over HTTPS, but requested an insecure stylesheet ‘http://○○.com/wp-content/plugins/usc-e-shop/css/usces_default.css’. This request has been blocked; the content must be served over HTTPS.

○○.com/:1 Mixed Content: The page at ‘https://○○.com/usces-cart/’ was loaded over HTTPS, but requested an insecure script ‘http://○○.com/wp-includes/js/tw-sack.min.js?ver=1.6.1’. This request has been blocked; the content must be served over HTTPS.

○○.com/:193 Mixed Content: The page at ‘https://○○.com/usces-cart/’ was loaded over HTTPS, but requested an insecure stylesheet ‘http://○○.com/wp-content/themes/○○/usces_cart.css’. This request has been blocked; the content must be served over HTTPS.

○○.com/:1 Mixed Content: The page at ‘https://○○.com/usces-cart/’ was loaded over HTTPS, but requested an insecure script ‘http://○○.com/wp-content/plugins/usc-e-shop/js/usces_cart.js’. This request has been blocked; the content must be served over HTTPS.

https://○○.com/wp-content/themes/default/loading.gif Failed to load resource: the server responded with a status of 404 (Not Found)

おそらく、元々読み込まれるはずのcssやjsがhttps化されていないのでブロックされたものと思われます。

試しにwelcartページのみSSL化の設定をしたところ、再度警告表示が出るようになりましたが、cssやjsファイルはhttps化されて読み込まれているようでした。

つまり、サイト全体をSSL化すると、welcart関連のcssとjsファイルがhttpで出力されるというのが根本的な原因のようです。

これが元々の問題なのか、サーバー側の問題なのか、あるいは私の環境下のみの問題なのかはわかりかねますが、ぜひとも解決策を示していただければ幸いです。

よろしくお願いいたします。