404 Error when accessing image in pub/media
-
19-01-2021 - |
Question
Ive been struggling with this for a few weeks now and dont seem to be getting anywhere. I have installed a module that reads images from a directory 'pub/media/import' however when I navigate to the image I get a 404 error. If I move the image up a directory the image works fine. Any ideas? I assume this is something to do with .htaccess but im unsure which file.
Working: https://www.example.com/pub/media/1.jpg,
Solution
I was slved this issue using configuring htaccess file in server. also can set a permission for media chmod -Rf 777 pub/media
Licensed under: CC-BY-SA with attribution
Not affiliated with magento.stackexchange