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 用visual studi code完成html页面
    • ¥15 聚类分析或者python进行数据分析
    • ¥15 逻辑谓词和消解原理的运用
    • ¥15 三菱伺服电机按启动按钮有使能但不动作
    • ¥15 js,页面2返回页面1时定位进入的设备
    • ¥50 导入文件到网吧的电脑并且在重启之后不会被恢复
    • ¥15 (希望可以解决问题)ma和mb文件无法正常打开,打开后是空白,但是有正常内存占用,但可以在打开Maya应用程序后打开场景ma和mb格式。
    • ¥20 ML307A在使用AT命令连接EMQX平台的MQTT时被拒绝
    • ¥20 腾讯企业邮箱邮件可以恢复么
    • ¥15 有人知道怎么将自己的迁移策略布到edgecloudsim上使用吗?