Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我已经安装了 wordpress 和一个主题,并在我的本地主机上对其进行了定制。
在安装了 xampp 的那台电脑上一切正常。
但是,如果我从另一台电脑(在同一个网络上)转到该页面 - 我看不到 css,没有样式,只有凌乱的文本。
即使我将它移到实时服务器上,我也会遇到同样的问题。
谁能告诉我为什么?
转到您的 Wordpress 设置。并在 URL 中输入带有电脑 IP 地址的 URL。而不是将localhost/sitename其更改为192.168.../sitename
localhost/sitename
192.168.../sitename
然后使用相同的地址从其他电脑访问它192.168.../sitename
这将有望解决问题。