最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

urls - Broken Images and Style

programmeradmin1浏览0评论

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 badge
Add a comment  | 

1 Answer 1

Reset to default 0

The 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.

与本文相关的文章

发布评论

评论列表(0)

  1. 暂无评论