Plugin-Sitemap not creating sitemap.xml #22035
-
Hello. I’m creating for myself a simple blog using Github Pages. I’d like to use the ‘Plugin-Sitemap’ feature to automatically create the sitemap.xml file for my site. But I have so far been unsuccessful at getting the sitemap.xml to be created. I’m not running a local build. I’m pushing only to Pages. https://github.com/jekyll/jekyll-sitemap I’ve put the following in my _config.yaml:
Do I need to add something to the front matter on each page, like:
What am I missing from my config to autogenerate the sitemap.xml? |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments
-
Hi @soccershoe ! Thank you for reaching out! If you are still having issues with this, can you check to see if you find an XML file loaded when you append “/sitemap.xml” to the end of your GitHub Pages site? The |
Beta Was this translation helpful? Give feedback.
-
Hi @nyahbhinghiPrincess1 , wanted to revive this old post as I am running into the same problem. I can see that there is indeed an xml sitemap file when I put the url in my browser, but Google Search Console is saying it fails to fetch the sitemap file from that url. What might be causing this problem? Thank you. |
Beta Was this translation helpful? Give feedback.
-
Same issue here. I’ve uploaded the sitemap.xml 3 weeks ago. But Google has not indexed it yet. I’ve looked on Google and someone said that it might just take some time for Google to index it. Followed lots of weird tutorials, but still, Google is saying “Couldn’t fetch”. I’m generating the xml with the jekyll plugin. Any luck @chesun? Should I just wait? |
Beta Was this translation helpful? Give feedback.
-
I am also using the jekyll plugin and so far no luck in getting the sitemap to fetch. I manually requested indexing on all my urls and sometimes certain pages would show up on google searches but they are really low in ranking. For whatever reason my website started showing up at the top of searches two days ago all of a sudden, and frankly I have no idea what happened. |
Beta Was this translation helpful? Give feedback.
Hi @soccershoe !
Thank you for reaching out! If you are still having issues with this, can you check to see if you find an XML file loaded when you append “/sitemap.xml” to the end of your GitHub Pages site?
Here is an example of the URL format that I am talking about https://soccershoe.github.io/PRETENDtestRepo/sitemap.xml
The
jekyll-sitemap
plugin is used to generate a search engine optimized link map for your website, so it won’t show any visual changes on your page when you enable this plugin.Let me know if that helps.