fix: prevent indexing wiki app routes#632
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (2)
WalkthroughThis pull request adds search engine exclusion directives to prevent indexing of the wiki. The backend introduces a 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 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
noindex, nofollowrobots meta directive to the/wikifrontend entryX-Robots-Tag: noindex, nofollowfor thewiki.htmlcontroller used by/wikiand/wiki/**sitemap = 0This intentionally applies to the Wiki application routes only; published Wiki Document routes remain indexable.
Verification
python -m compileall -q wiki/www/wiki.pygit diff --checkyarn buildinfrontend/GET /wiki/spacesandGET /wiki.htmlreturnX-Robots-Tag: noindex, nofollowand the matching HTML meta tag/sitemap.xmldoes not list/wikiSummary by CodeRabbit