Sitemap generated with relative URLs only #23341
-
The problem was raised in this issue, where our sitemap only contains relative URLs, which are disallowed by the spec and rejected by at least Google. The sitemap is generated by the What’s weird is that a local build produces a correct sitemap ( Are we missing something here? Thanks in advance! |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments
-
Hello! Jekyll (or the Have you tried setting the |
Beta Was this translation helpful? Give feedback.
-
Yes, I have, and even with a cache-less refresh (Ctrl+F5), the URLs in the sitemap were still relative. That’s why I’m assuming it must be something with the way GH Pages overrides this setting. Or have I missed anything? |
Beta Was this translation helpful? Give feedback.
-
I confirmed the I took you repo and re-applied your configuration changes. The sitemap looks great: https://yoannchaudet.github.io/rgbds-www/sitemap.xml. Pages assets are served behind a CDN so you may have to wait up to 10 minutes for full propagation. A Ctrl+F5 refresh would not make our CDN propagate faster :slight_smile: I suggest you re-apply the configuration change and give it a bit of time after a Pages rebuild for the changes to be reflected. |
Beta Was this translation helpful? Give feedback.
-
Alright, I’ve tried again, I’ll get back in an hour or so ^^ [EDIT] Well, looks like it didn’t take 10 minutes for me to see the change this time. Thanks! |
Beta Was this translation helpful? Give feedback.
I confirmed the
jekyll-sitemap
plugin can handle absolute paths just fine.I took you repo and re-applied your configuration changes. The sitemap looks great: https://yoannchaudet.github.io/rgbds-www/sitemap.xml.
Pages assets are served behind a CDN so you may have to wait up to 10 minutes for full propagation. A Ctrl+F5 refresh would not make our CDN propagate faster :slight_smile:
I suggest you re-apply the configuration change and give it a bit of time after a Pages rebuild for the changes to be reflected.