Change /cases query URLs to noindex,nofollow#271
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: ASSERTIVE Plan: Pro Run ID: 📒 Files selected for processing (2)
WalkthroughThe pull request updates the SEO robots meta directive in the case-studies-page module. In Possibly related PRs
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Summary
This PR updates robots meta directives for
/casesquery-parameter URLs.Both case listing and case detail pages now use
noindex,nofollowwhen query params are present.Clean URLs without query params remain
index,follow.What changed
website/modules/case-studies-page/index.js:noindex,nofollow(previouslynoindex,follow)website/modules/case-studies-page/views/show.html:noindex,nofollow(previouslynoindex,follow)Why
To enforce stricter crawler behavior for query-based
/casesURL variants and avoid indexing/following parameterized duplicates.Validation
npm run --prefix "./website" lintpassesnoindex,nofollowindex,followUpdated robots meta directives for parameterized
/casesURLs to prevent search engine crawlers from indexing or following query-based variants. Case listing and detail pages now rendernoindex,nofollowwhen URL query parameters exist, avoiding duplicate indexed content. Clean URLs without parameters maintainindex,followdirectives as before.