#5405 - Underscore doesn't seem to be hiding pages from the sitemap when parent is set
0 guests and 0 members have recently viewed this.
The top 3 point earners from 14th Dec 2025 to 21st Dec 2025.
| PDStig |
|
|
|---|---|---|
| Gabri |
|
|
| sholzy |
|
|
There are no events at this time
Obviously, underscore pages should be ignored in the XML files as these are submitted to search engines (and upon testing, they seem to work as intended including for child pages).
The block, on the other hand, works mainly by user permissions. It may want to render underscore pages in its list (which it currently does) especially for administrators / moderators so they can quickly go to them and edit them and so they know they exist. But one may argue underscore pages should also be hidden from the menu sitemap so users do not see them. However, my personal argument is that if a page shouldn't be visible for users in the 404 menu sitemap, then appropriate permissions (and validated status) should be set on the page rather than relying solely on putting an underscore on the page name.
I'm not going to make any changes for now; I'm going to consult with Chris. Feel free to give your input.
As an additional note, I was unable to isolate your specific issue where parent pages with an underscore are hidden but child pages are not.