You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Narrow the One-Segment URL Claim in the Attachment Page Definition #313
Found by a local review pass while counting the root files apart from the attachment pages.
The defect
checks/README.md, in the paragraph defining an attachment page, says the sitemap resolves the ambiguity of a one-segment URL: "a one-segment URL absent from it is an attachment page". That is not true of the redirect list. redirect-urls.txt holds one-segment URLs absent from the sitemap that are not attachment pages: the two root files /robots.txt/ and /osd.xml/, /feed/, the retired /viljoen-family/, and the one-segment date and Blogger archives.
Naming exceptions does not fix it, since the exception list is long and grows with each retired page.
Fix
Narrow the claim to the URLs it is about, the bare slugs slugs.map resolves, rather than to every one-segment URL, and keep the table's counts as they are.
Activity