Incidentally, the Services page is placed within a folder called /mac-support-zurich, which is reflected in the sitemap as iHealMacs Services | Mac Technical Support in Zurich. This URL is correct. The page name does not appear in the sitemap URLs.
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.)
Sorry, I was trying this from memory. Just checked one of my projects. Try just āprivateā (omit the leading ā/ā).
I agree, though, the sitemap should match where the page is published. The above seems to work fine for me. It should get you the structure you want and get the sitemap to match.