I'm trying to add robots metatags "NOINDEX, FOLLOW" to the sitemap. How can we achieve it in Magento 2

1 Answer 1


You can't manage it with native functionality. But you can add these tags in layout file vendor/magento/module-sitemap/view/frontend/layout/robots_index_index.xml or check these modules:

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.