Sign in
We're evolving to serve you better! This current forum has transitioned to read-only mode. For new discussions, support, and engagement, we've moved to GitHub Discussions.

Google Search Console Reporting That Sitemap.xml is Invalid

  • This topic has 1 reply, 1 voice, and was last updated 4 years ago by .
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #1718
    Avatar photo[anonymous]

    I’m trying to get Google to index my site’s pages. To assist it, I submitted my sitemap.xml file. Google is saying that the file can be read, but the URLs are invalid. I’ve attached a picture of what I see, and here is the link to the sitemap.xml, if it helps:¬†

    I have one theory as to what could be causing this, and that is the use of relative URLs. I’m only using them because I want my links to use my domain and not my Netlify subdomain. If I could figure out how to add the _redirects file to the root, that may fix my problem. I’m very new to this whole method of web design and management so I honestly have no idea :-|. Publii’s documentation on the “Use relative URLs” feature is nonexistent as far as I can tell, and only lists some of the features that don’t work with it enabled.


    Thanks in advance for the help.

    Avatar photo[anonymous]

    EDIT: Adding the _redirects file to the folder titled “root-files” did the trick.


    To be clear, Publii needs to add clearer documentation regarding the relative URLs feature, as it is very unclear what breaks when it is enabled.

Viewing 2 posts - 1 through 2 (of 2 total)
  • The topic ‘Google Search Console Reporting That Sitemap.xml is Invalid’ is closed to new replies.