No: 'noindex' detected in 'X-Robots-Tag' http header
I have this problem with my sitemap No: 'noindex' detected in 'X-Robots-Tag' http header, and I think this is why my sitemap show "Sitemap could not be read" Does anyone has an idea how to solve it. I am using Django this the URL of my sitemap https://www.freeconvert.tk/sitemap.xml
#Screenshots
https://i.stack.imgur.com/1Z7yF.png
https://i.stack.imgur.com/vfs9a.png
https://i.stack.imgur.com/GekJU.png
#sitemaps.py
from convert.models import Snippet
from django import http
from django.urls import reverse
from django.contrib import sitemaps
from .models import Snippet
class StaticViewsSitemap(sitemaps.Sitemap):
priority = 1.0
changefreq = "daily"
def items(self):
return [
'home',
]
def location(self, items):
return reverse(items)
class SnippetSitemap(sitemaps.Sitemap):
priority = 1.0
changefreq = "daily"
def items(self):
return Snippet.objects.all().order_by('id')