Skip to content

images on product page magento 2 are lot loaded because of wrong path

at magento admin base url static and base url media are on http://domein.nl/static/ and http://domein.nl/media/ new photos are saved properly in pub/media/catalog/products//

however on the website the photos of the product page are requested via the path pub/media/catalog/products/* instead of media/catalog/products/*
so with starting with pub instead of media.

the result is that the call is wrong and so no photos are shown because the path is not correct.

some things have been changed for security on the server according to the following method:
https://experienceleague.adobe.com/docs/commerce-operations/installation-guide/tutorials/docroot.html

Anyone have any idea how I can correct this?