Question

Why my website is not loading images ?

I have uploaded a static website through Filezilla on a new droplet and has installed Apache as a server. Whereas all the site is functioning properly some of the images are not showing up. The console is showing 404 error (not found) whereas i have checked several times the path mentioned in html is also correct and the files are also properly placed in the folder. Its that some of the files are showing and some not. While development its perfect on the local server. Please help me out as I am new to the hostings.

Subscribe
Share

Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Hello,

Do you get mixed content errors in the console as well? What I could suggest is to install a Let’s Encrypt certificate for your website and then update all of the http:// references to https:// so that you would not get those mixed content errors.

https://www.digitalocean.com/community/tutorials/how-to-secure-apache-with-let-s-encrypt-on-ubuntu-20-04

Let me know how it goes! Regards, Bobby