how to fix 'noindex' detected in 'X-Robots-Tag' http header error in wordpress NGINX server?
03:28 28 Dec 2022

I created a sitemap using rankmath plugin when i added that sitemap url to the search console it shows couldn't fetct error then i used URL Inspection tool to check my sitemap It show url is not on google. After live test It shows 'noindex' detected in 'X-Robots-Tag' http header.

check this image to view issue

1

I want to fix this issue. If anybody know how to fix x-robots noinex tag from response header of sitemap please hrlp to fix it.

wordpress seo sitemap google-search-console sitemap.xml