Skip to content

Fix pregnancy hub ItemList: recommend only crawl-eligible locale tool pages - #100

Merged
appdevelopsk merged 3 commits into
mainfrom
fix/pregnancy-itemlist-indexed-only-20261115
Nov 15, 2026
Merged

appdevelopsk merged 3 commits into
mainfrom
fix/pregnancy-itemlist-indexed-only-20261115

Conversation

@appdevelopsk

Copy link
Copy Markdown
Owner

Problem

Toolify's pregnancy hub is sitemap-indexed for EN/JA. It currently publishes ItemList JSON-LD for all seven steps, including deliberately noindex destinations (menstrual-cycle-calculator, pregnancy-weight-gain-calculator, hcg-calculator). The normal /tools catalog already correctly filters its ItemList by isIndexableIn(locale, slug), but /pregnancy did not. This creates inconsistent crawl/index recommendations and dilutes site-focused guidance.

Changes

  • Preserve all seven visible pregnancy steps, cards, translations, health disclaimers and source links for users.
  • Filter only ItemList JSON-LD using the existing isIndexableIn(locale, tool.slug)—the same source of truth as tool-page robots metadata and sitemap.ts. Fix numberOfItems to match emitted URLs.
  • Skip empty ItemList on intentionally noindex locales, while leaving their actual translated user pages intact.
  • Add three Node source-regression tests and wire them into existing site/package.json prebuild before network-dependent fetch-rates.

Verification

13/13 structural/policy assertions passed against current PR branch read back from GitHub, including 7 visible steps, canonical index policy, sitemap consistency, counted JSON-LD and prebuild test. Native Node suite, full Next build, live VPS deployed SHA, GSC recrawl and ranking impact were not verified in this connector runtime. No indexing directives or URLs changed. This is a truthful structured-data correction, not evidence of traffic growth.

@appdevelopsk
appdevelopsk merged commit fab8a55 into main Nov 15, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant