admin管理员组文章数量:1317909
After moving Wordpress to another account, the style and images are broken. I have tried disabling plugins, checking and updating "Uploads" folder in Database, checking folders and files permissions, re-saving Permalinks, adding codes to wp-config... None has fixed the problem. Screenshot here:
Any suggestions
Thanks
After moving Wordpress to another account, the style and images are broken. I have tried disabling plugins, checking and updating "Uploads" folder in Database, checking folders and files permissions, re-saving Permalinks, adding codes to wp-config... None has fixed the problem. Screenshot here: https://prnt.sc/v9mxqt
Any suggestions
Thanks
Share Improve this question edited Oct 29, 2020 at 20:12 fuxia♦ 107k38 gold badges255 silver badges459 bronze badges asked Oct 29, 2020 at 20:02 P. PaulP. Paul 1011 bronze badge1 Answer
Reset to default 0The URL for a media item is stored in the database for that item. The URL includes the domain name.
If you move a site to a new domain, the URLs in the posts database are not necessarily changed. (And there are often other items that might not be updated to the new domain name.)
Your best bet is to use a search and replace plugin to search for olddomain and replace with newdomain . I've had good luck using the "Better Search and Replace" plugin to do this on sites that I have moved.
Of course, back up your database before any such action, just in case something goes wrong.
本文标签: urlsBroken Images and Style
版权声明:本文标题:urls - Broken Images and Style 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1742027328a2415791.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论