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

Locales missing in urls #9

Closed
rungeard opened this issue Nov 30, 2023 · 4 comments
Closed

Locales missing in urls #9

rungeard opened this issue Nov 30, 2023 · 4 comments

Comments

@rungeard
Copy link

rungeard commented Nov 30, 2023

When generating the sitemap XML, locales seem to be ignored.

For example I've got

<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<!-- Wiki.js sitemap generator by https://hostwiki.com -->
<url>
    <loc>https://domain.tld/new-page</loc>
    <lastmod>2023-11-30T13:49:20.203Z</lastmod>
  </url>
<url>
    <loc>https://domain.tld/new-page</loc>
    <lastmod>2023-11-30T13:49:24.491Z</lastmod>
  </url>
</urlset>

instead of

<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<!-- Wiki.js sitemap generator by https://hostwiki.com -->
<url>
    <loc>https://domain.tld/en/new-page</loc>
    <lastmod>2023-11-30T13:49:20.203Z</lastmod>
  </url>
<url>
    <loc>https://domain.tld/fr/new-page</loc>
    <lastmod>2023-11-30T13:49:24.491Z</lastmod>
  </url>
</urlset>
@Philipinho
Copy link
Member

Good catch.
I have an incoming trip so will fix it next week.
Remind me If I don’t.

@rungeard
Copy link
Author

Hi @Philipinho !
Thank you so much you are my hero !
Do you have any status on it ?

@Philipinho
Copy link
Member

Fixed in 7b492ff.

Please confirm if it works well for you.

@rungeard
Copy link
Author

It's perfect ! Thank you so much !

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

No branches or pull requests

2 participants