jeffreytse/jekyll-theme-yat

Sitemap with relative URLs and Google Search Console

Open

#89 geöffnet am 1. Juni 2022

Auf GitHub ansehen
 (2 Kommentare) (1 Reaktion) (1 zugewiesene Person)HTML (700 Forks)batch import
good first issue

Repository-Metriken

Stars
 (788 Stars)
PR-Merge-Metriken
 (Keine gemergten PRs in 30 T)

Beschreibung

Hi there,

First of all, thank you for this great theme that I am currently using for my site on github pages.

I have a problem with the sitemap generation to allow google to index the posts I am adding. By looking at the sitemap, it looks like I'm correctly generating everything with absolute path as required by Google. However, when I tell Google Search Console to scan my sitemap, it generates this error: image

The error says: "sitemap index can be read, but has errors". It looks like in the examples that the URLs are missing the domain and subdomain, but I can't understand where in the source code I should include that (url and baseurl are correctly set in my _config.yml).

Thanks for your help!

Contributor Guide