I am new to magento, I am building a store in this I have deployed the site in the domain.com/shop subfolder, now the problem is that the images are not loading in my site, I think it is due to .htaccess file, but I don't have proper understanding in that.

1) Site without .htaccess in pub directory

enter image description here

2) Site with .htaccess inside pub directory

enter image description here

I tried deleting cache, building index, setup:upgrade etc... Please guide me on this

Adding admin login snapshot :

1 Answer 1


Go to System > Cache Management and scroll to the bottom of the page. Then click the Flush Catalog Images Cache button and the clear the other caches.

And refer more link :-

Magento2 category images not showing and not changing

  • I am not able to login to admin panel, because it is asking an image captcha and since images are not loading, though I tried deleting the cache using bin/magento cache:flush, cache:clean
    – adi
    Mar 24, 2020 at 5:15
  • please share the admin login box screenshort Mar 24, 2020 at 5:16
  • updated the question with screenshot
    – adi
    Mar 24, 2020 at 5:24
  • did you got any clues ?
    – adi
    Mar 24, 2020 at 6:52
  • you create the theme after showing thiis error ?? Mar 24, 2020 at 10:52

Your Answer

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

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