1

I have copied the my old site files and moving those into new site. i have changed the url in db, and uploaded the files in new server. everything works fine except the media show black images .can any one suggest me what is wrong with this.

enter image description here

6
  • How did you "change" the url in the db? If you just used a search & replace in a text-editor, that will screw up some of the values (like text-widgets). Sep 5, 2014 at 6:11
  • @kuchenundkakao yes . i have changed using find and replace in notepad++
    – Jagankumar
    Sep 5, 2014 at 6:14
  • Are image link URL correct in these images. Check URL of any of these empty images and make sure it's correct. Copy paste URL in your browser to check if image is visible.
    – Robert hue
    Sep 5, 2014 at 6:31
  • Have you flushed your permalinks after the migration. That is most of the time the only requirement if you are sure all paths in the db has been changed Sep 7, 2014 at 8:39
  • @Roberthue I have copied the image url and checked in browser . it works . But where as in media library it is not showing.
    – Jagankumar
    Sep 8, 2014 at 4:05

1 Answer 1

2

Plugins such as Search and Replace can help you to properly fix the URLs in your database.

Likewise, consider using backup-and-migration plugins such as BackupBuddy (paid) or Duplicator (free) to properly and more easily move your site (while automatically handling the above search-and-replace operation).

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.