I want to prevent visitors to the site from going to http//... ...img.jpg and viewing the image there and instead see them redirected land on the main page. I have tried editing some the .htaccess files following online guides and references but all I have managed is to generate site wide 404 errors I need one folder in particular covered but a site wide solution would be helpful too.

Running magento 2.2.7 if that helps

Your Answer

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

Browse other questions tagged or ask your own question.