I have a quite complex logic based on several fields to decide whether one of my URLs should set the noindex
meta tag or not.
Moving that logic to the sitemap generation could over-complicate my code.
But adding URLs with noindex
meta tag to my sitemap does not look 100% correct to me.
Is that an incorrect practice? Do search engines penalize that?