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

本文标签: urlsBroken Images and Style