1

I just moved a site from a production environment to an ubuntu based localhost set up and some of the images aren't displaying and are popping up in the console as 404 errors.

The files are present on the localhost set up, and they have the same permissions as the images that do show up. I think this means that the files are corrupted. So,

  1. How do I test/fix this?
  2. How can I prevent this from happening in the future?
1

So, I'm my case the files were getting corrupted durring transfer via ftp. Archiving the files first and then transferring the archive solved the problem.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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