我正在使用WP Migrate DB 将使用Avada构建的WordPress网站从本地迁移到虚拟机。
我正在查找并替换为查找://localhost/website
并替换://10.60.8.118/website
查找:C:\\xampp\\htdocs\\website
并替换:/var/www/html/website
所有链接都很好,但fontawesome、icomoon和从Avada加载的字体在控制台中显示错误。我不明白为什么我还有本地主机URL。(当我在数据库中搜索术语localhost时,没有得到任何结果)
Access to Font at \'http://localhost/website/wp-content/themes/Avada/includes/lib/assets/fonts/fontawesome/fontawesome-webfont.woff2?v=4.7.0\' from origin \'http://10.60.8.118\' has been blocked by CORS policy: No \'Access-Control-Allow-Origin\' header is present on the requested resource. Origin \'http://10.60.8.118\' is therefore not allowed access.
等等当我转到内部页面时,我还收到一个错误“找不到URL”。(请注意,我已经重置了永久链接,还检查了WordPress默认的.htaccess文件)
我可以知道可能出了什么问题吗?