Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 8 additions & 6 deletions guides/hidden-pages.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,11 @@
icon: "eye-closed"
---

Hidden pages are removed from your site's navigation while remaining publicly accessible to anyone who knows their URL.
Hidden pages are removed from your site's navigation but remain publicly accessible to anyone who knows their URL.

Use hidden pages for content that you want to be accessible on your site, but not discoverable through the navigation. For content requiring strict access control, you must configure [authentication](/authentication-personalization/authentication-setup).
Use hidden pages for content that you want to be accessible on your site or referenced as context for AI tools, but not discoverable through the navigation.

For content requiring strict access control, you must configure [authentication](/authentication-personalization/authentication-setup).

If you want to hide pages for specific groups of users, use personalization to control [page visibility](/authentication-personalization/overview#page-visibility).

Expand All @@ -18,14 +20,14 @@
Some navigation elements like sidebars, dropdowns, and tabs may appear empty or shift layout on hidden pages.
</Note>

## Search and SEO
## Search, SEO, and AI context

By default, hidden pages are excluded from indexing for search engines and internal search within your docs. To include hidden pages in search results, add this setting to your `docs.json`:
By default, hidden pages are excluded from indexing for search engines, internal search within your docs, and as context for the AI assistant. To include hidden pages in search results and as context for the assistant, add the `seo` property to your `docs.json`:

```json
"seo" {
"seo": {
"indexing": "all"
}
```

To exclude a specific page from search, add `noindex: true` to its frontmatter.
To exclude a specific page, add `noindex: "true"` to its frontmatter.

Check warning on line 33 in guides/hidden-pages.mdx

View check run for this annotation

Mintlify / Mintlify Validation - vale-spellcheck

guides/hidden-pages.mdx#L33

Did you really mean 'frontmatter'?
Loading