douleijiang8111 2017-11-09 05:31
浏览 65

使用SSL传输到新域后Wordpress CSS中断

I have transferred my website to a new domain with SSL and now CSS breaks. I tried installing WP Simple SSL plugin and it doesn't work. Also tried adding this line into my wp-confing.php:

if ($_SERVER['HTTP_X_FORWARDED_PROTO'] == 'https') $_SERVER['HTTPS']='on';

But that doesn't work either. Any suggestions?

Here is a website link: https://scilatech.com/

Here is error log:

[Wed Nov 08 23:48:34.749737 2017] [autoindex:error] [pid 11008] [client 122.55.14.126:56780] AH01276: Cannot serve directory /home/scilatec/public_html/wp-content/themes/easyweb/css/: No matching DirectoryIndex (index.html,Index.html,index.shtml,index.php,Index.php,index.phtml,Index.phtml,index.htm,Index.htm,default.htm,Default.htm,default.html,Default.html,home.htm,Home.htm) found, and server-generated directory index forbidden by Options directive
[Wed Nov 08 23:11:29.324765 2017] [:notice] [pid 47287] [client 178.220.189.14:39088] mod_hive matched URI http://scilatech.com/wp-login.php (/home/scilatec/public_html/wp-login.php) with match 2, referer: https://scilatech.com/wp-login.php?redirect_to=https%3A%2F%2Fscilatech.com%2Fwp-admin%2Foptions-general.php%3Fsettings-updated%3Dtrue&reauth=1
[Wed Nov 08 23:10:40.254933 2017] [:notice] [pid 36611] [client 178.220.189.14:34150] mod_hive matched URI http://scilatech.com/wp-login.php (/home/scilatec/public_html/wp-login.php) with match 2, referer: https://scilatech.com/wp-login.php?redirect_to=https%3A%2F%2Fscilatech.com%2Fwp-admin%2F&reauth=1
  • 写回答

0条回答 默认 最新

    报告相同问题?

    悬赏问题

    • ¥15 虚幻5 UE美术毛发渲染
    • ¥15 CVRP 图论 物流运输优化
    • ¥15 Tableau online 嵌入ppt失败
    • ¥100 支付宝网页转账系统不识别账号
    • ¥15 基于单片机的靶位控制系统
    • ¥15 真我手机蓝牙传输进度消息被关闭了,怎么打开?(关键词-消息通知)
    • ¥15 装 pytorch 的时候出了好多问题,遇到这种情况怎么处理?
    • ¥20 IOS游览器某宝手机网页版自动立即购买JavaScript脚本
    • ¥15 手机接入宽带网线,如何释放宽带全部速度
    • ¥30 关于#r语言#的问题:如何对R语言中mfgarch包中构建的garch-midas模型进行样本内长期波动率预测和样本外长期波动率预测