当我在WordPress中更改域名时,第一页不显示
至于标题,我更改了网站的域名,但是当我返回WordPress时,我的第一页可以在浏览器上显示,似乎只有HTML并非任何CSS。我已经检查了我的所有域和地址设置,它们都是相同的。谁能帮助我解决这个问题?思考。 在此处输入图像描述 上图是我打开主页时。
As for the title, I changed the domain nane of my site, but when I go back to WordPress, my first page can display on the browser, seems like only HTML not any css. I has checked my all domain and address setting, they are all same. Can anyone help me with how to solve this problem? Thinks.
enter image description here
above picture is when I open my home page.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
在WordPress DB中,域有许多参考。您必须在网站重新播放之前对其进行更改。
在这里,您必须执行一些示例查询,但是请小心,在之前备份数据库:
检查db上是否存在选择:
只有这样,您才能进行替换带有更新的域:
In the Wordpress DB there are many reference of the domain. You have to change them before the website come back to live.
Here some sample queries you have to do, but PLEASE BE CAREFUL, MAKE A BACKUP OF THE DATABASE BEFORE:
Check if these references exist on the DB with the SELECT:
and only then, you can do a replace of the domain with the UPDATE: