You want the folder for the Private Customers page to be “/private” and not “/customers/private”.
Since it’s a sub-page of Customers, it will go in the folder “/customers” specified for the Customers’ page. By specifying “/customers/private” you are telling RW to put that page in another “customers” sub-folder before putting it in a “private” folder.
This is not what is happening. With the folder set to “/customers/private” the page is being placed where I want, and where I expect, which is domain/customers/private/. But the sitemap says domain/customers/customers/private/index.html.
As an experiment I changed the folder field in the page inspector to “/private”. Now the page is being placed in domain/private/ and the sitemap says domain/customers/private/index.html, which is still wrong.
If the sitemap is not matching the actual site structure surely that is a bug, regardless of how the folder field in the page inspector is filled out…?
(Just to be clear, I don’t actually care in what folder the page is stored. I am right now getting errors from Google Search Console for my two pages which RW has incorrectly listed in my sitemap.xml. This is what I’m trying to fix.)