0

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?

1 Answer 1

4

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

1
  • Thanks for your reply, I was doing a mistake. Old sitemap needs to delete from the website. Commented May 2, 2018 at 8:36

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.