Sitemap error

I have an error with a sitemap, this is what appears in the index file:
I think this line: <atom:link href="/index.xml" rel=“self” type=“application/rss+xml”/>
should contain the full url of the website.
And google search console is giving the following error:

It looks like it is missing the baseURL but it is already inserted in the config.yaml file.
This is the content of the config.yaml file:
baseURL: ‘
title: Bigspring Light
theme: bigspring-light
paginate: ‘3’
summaryLength: ‘15’
disqusShortname: ‘’
googleAnalytics: ‘’
unsafe: yes

How can I fix that?

Try configuring the sitemap in your config.yaml file and share that instead in GSC ( Also, add this between <head></head> if necessary <link rel="sitemap" type="application/xml" title="Sitemap" href="{{ "sitemap.xml" | absURL }}">

This is not a sitemap:

It is an RSS feed.

Please clarify your question.

This is the link for the sitemap:

which on google search console returns an error of invalid url

Please post a link to the public repository for your site.

this is the repository:

When I build your site locally, this is what is rendered in public/sitemap.xml

<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<sitemapindex xmlns="">

The problem is in your Netlify configuration:


thank you. That solved the issue

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.