I just uploaded 4 photos to a folder where other photos have been for months. All the old photos work fine but I am getting a 404 error on the new photos. I can see them in github.
Here are the 4 images.
Here is one that works in the same folder:
It’s probably something really obvious, but I don’t see any reason why they would get a 404.
January 5, 2023, 10:05pm
@RhondaBailey, welcome and thanks for the post.
Kindly check if the combination of the file extension, file path and the filename match the url path.
If you are sure the above if correct, if possible can you share the repository of your project for me to help with the debugging?
January 5, 2023, 10:25pm
@RhondaBailey, your repository is either private or it has been deleted since I am redirected to a 404 page.
If possible redeploy your changes from GitHub for the changes to take effect if you are sure the filename and file path are in the same folder as you stated.
I changed the visibility of the repo.
I just deployed a copyright text change and that worked fine.
January 6, 2023, 1:02pm
@RhondaBailey, are you still experiencing this issue?
January 6, 2023, 1:41pm
@RhondaBailey, thanks for sharing how you were able to resolve the problem.
Yes. I am still having the issue.
It seems the issue was because I was uploading the images to the images folder in the src directory for my React app. They were not being uploaded to the public folder too. I don’t recall ever having to do that manually before. But uploading them there made it work.
January 7, 2023, 8:25am
@RhondaBailey, thanks for the update.
Has the issue been resolved now or you are still having difficulties.