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.

Sitemap can be read, but has errors. Because of site language.

  • This topic has 4 replies, 2 voices, and was last updated 3 weeks ago by .
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #11665
    Avatar photoshivam

    Hi,

    So, I have noticed a bug or I should say one unnecessary thing that whenever you change the language of your website from site setting, publii translate the date format of sitemap.

    And this thing give error in google search console.

    This is the error: Sitemap can be read, but has errors. Reason is invalid date format.

    Only “lang” tag should be changed along with other theme specific elements but root files like sitemap should not get translated.

    Sitemap XML (gyanchannel.com)

    This is my sitemap link and you can clearly see it translated or changed the date format in Hindi language which is not readable by search console.

    I tried troubleshooting but it didn’t work as expected.

    I selected the language English so sitemap will be in English format. Then I actually modified the “lang” tag in the root directory but when I sync and upload the website, it does not work. It still shows hindi date format in the sitemap.

    The whole point is sitemap must be kept in English langauge even if you change the site’s language.

    So that it does not affect the sitemap in the search engine consoles. I tested with Bing too and it gave me the same error.

    So, can you please make this small change in your next update where sitemap won’t get translated even if you change the site langauge.

    Also, language list does not contain all the languages like Marathi is my native language and I want to create one site in this language but I don’t see it in the list. Likewise. Maybe you can add an option to edit the index page directly from the app for those who are programmers like me.

    This will provide an advantage from a local SEO perspective.

    It will be a big help for those who have website in regional or native language.

    I know that you guys are already working on a lot of stuff and fixes but please consider this small fix as well.

    Thank You!

    #11666
    Avatar photoshivam

    I have attached some pic for your reference.

    #11706
    Avatar photoTomasz Dziuda

    Hi,

    I will try to fix it in v.0.45 – it is suprising that you are the first person which reports this issue 🙂

    --
    Do you appreciate the support you've received today? If so, consider donating to the Publii team by clicking here; we'll be sure to use your donation to make Publii even better!

    #11709
    Avatar photoshivam

    Yeah, I noticed that too.

    Nobody actually reported this thing maybe they don’t go through every important stuff like me as programmers and SEO has to work concurrently.

    Well, I have found multiple things but this was actually somewhat important since sitemap is very crucial thing in SEO.

    Other things are negligible.

    And thanks for the consideration.

    Looking forward to upcoming updates.

    Cheers!

     

    #11711
    Avatar photoTomasz Dziuda

    Problem will be fixed in v.0.45 – as I have found it affects sitemap lastMod and JSON-LD publish/modification date: https://github.com/GetPublii/Publii/commit/846fc960e38a91c384c4f865a48eacb629f36ec9

    Thank you for finding it 🙂

    --
    Do you appreciate the support you've received today? If so, consider donating to the Publii team by clicking here; we'll be sure to use your donation to make Publii even better!

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.