Hello Nicepage Support,

I use Nicepage Desktop 9.0.5 on Windows to export a static site to a folder for external hosting. The generated sitemap lists two filenames for our homepage and omits the canonical site root.

Steps to reproduce in my project

  1. Use a named page as the homepage. Ours is named immerGallery and its canonical URL is the site root.
  2. In Publish & Export, select HTML and Folder, enable Generate Sitemap, and use https://immervr.com/ as the site URL.
  3. Export the site and compare sitemap.xml with index.html and immerGallery.html.

Actual output

sitemap.xml lists both of these locations.

<loc>https://immervr.com/immerGallery.html</loc>
<loc>https://immervr.com/index.html</loc>

immerGallery.html redirects immediately to the site root.

<meta http-equiv="refresh" content="0;url=./">

index.html contains the homepage content and declares the site root as canonical.

<link rel="canonical" href="https://immervr.com">

Expected output

Please keep the redirect file so that existing links work, and generate a single sitemap entry for the homepage.

<loc>https://immervr.com/</loc>

We export updates regularly, and each export generates a fresh sitemap. Making the same correction by hand before every release adds a publishing step that is easy to miss.

Is there a project setting that makes the HTML exporter produce this result automatically on every export? If this requires an exporter fix, please log the issue and let me know its reference.

A previous report describes the same two sitemap entries.
https://nicepage.com/questions/594498/how-to-prevent-both-home-html-and-index-html-from-appearing-in-sitemap-xml