NamelessMC / Nameless

NamelessMC is a free, easy to use & powerful website software for your Minecraft server, which includes a large range of features.
https://namelessmc.com/
MIT License
609 stars 311 forks source link

Sitemap Urls are generated incorrectly #3482

Closed Crousus closed 3 months ago

Crousus commented 9 months ago

Describe the issue

I have a custom "Page" for my website:

As you can see this is a redirect. But thats is probably not the issue. The problem ist that the sitemap generator sees the leading / not part of the path and url encodes it. So i end up with:

https://chaosolymp.de%2Fmaps/ 0.5

The google search engine does not like that.

NamelessMC Version

2.1.0

To Reproduce

  1. Go To StaffCP and create a new site
  2. Enter a path with the leading /
  3. Generate the sitemap
  4. Look at the generated result

Expected Behaviour

I expect the result to look like that:

https://chaosolymp.de/maps/ 0.5

Screenshots

No response

Additional Information

No response