I have created sitemap.xml in the website. In which, Image URL coming with cdn link.

I have change setting from admin but still is showing.

I don't want to use CDN URL in the sitemap.

How to remove product image URLs from the sitemap.xml?


You don't need any custom code to disable the image from sitemap.xml.

Magento has a setting at admin from where you can disable product image from the sitemap.

Logging at admin.

Then navigate to STORE>Configuration>Catalog>XML Sitemap>Products Options

and here you see a setting Add Images into Sitemap and Make it toNO to remove images from the sitemap. enter image description here

  • Thanks for your reply, I was doing a mistake. Old sitemap needs to delete from the website. – Vinod Kumar May 2 '18 at 8:36

Your Answer

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

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