Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sitemap with relative URLs and Google Search Console #89

Open
jacoporepossi opened this issue Jun 1, 2022 · 2 comments
Open

Sitemap with relative URLs and Google Search Console #89

jacoporepossi opened this issue Jun 1, 2022 · 2 comments
Assignees
Labels
good first issue Good for newcomers

Comments

@jacoporepossi
Copy link

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!

@jeffreytse jeffreytse self-assigned this Jun 2, 2022
@jeffreytse jeffreytse added the good first issue Good for newcomers label Jun 2, 2022
@jeffreytse
Copy link
Owner

Hi @jacoporepossi,

I have checked your generated sitemap.xml file, all links are right. It should be something else made it happened.

Thanks & Regards

@jacoporepossi
Copy link
Author

Hi @jeffreytse , thanks for your time and reply.

Any idea what could be the cause?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants