我有一个奇怪的情况。客户的网站(刚刚从其他人那里接管)未正确加载。索引页文本正在加载,但没有加载任何资源(css、js、图像等)。查看控制台,收到 404 错误。查看来源(Chrome 开发人员工具),每个文件的引用 URL 前面都有“79.170.40.173”。
例子:
<link rel='stylesheet' id='storefront-style-css' href='http://79.170.40.173/thorasthreads.com/wp-content/themes/storefront/style.css?ver=2.1.7' type='text/css' media='all' />
我查看了域等的 IP 地址,但没有一个与此 IP 地址匹配。我能想到的最佳答案是 pingback DDOS,因为它是一个 WP 站点。
1)我说得对吗?
2)我该如何解决?我找到了预防措施,但没有清理它。我尝试阻止访问 .htaccess 中的 xmlrpc.php 文件,但这并不能解决问题。
在 wp-config.php 文件中添加这些常量
define('WP_HOME','http://thorasthreads.com');
define('WP_SITEURL','http://thorasthreads.com');
之后去wp-admim->settings->general
设置
并更改siteurl和home的url。
本文收集自互联网,转载请注明来源。
如有侵权,请联系[email protected] 删除。
我来说两句