-
Type:
Bug
-
Status: Closed
-
Resolution: Won't Fix
-
Affects Version/s: 6.0.X EE, 6.1.X EE, 6.2.X EE
-
Component/s: Pages > Page Administration, Sites Administration > Sites
-
Labels:None
-
Fix Priority:1
-
Git Pull Request:
if a layout does not have "sitemap-include" explicitly set to true in its parameters it will not be added to the sitemap.
considering the logic changes from LPS-38468, where we include hidden pages in the sitemap, it appears that visitLayout() should return the largest possible set of results, which can then be properly restricted by the excludes list in robots.txt. The current logic will not map sites that are missing the "sitemap-include" parameter. However, this is not consistent with the way we are retrieving the boolean.
update:
the logic is actually correct and no changes are necessary