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
Copy file name to clipboardExpand all lines: guides/hidden-pages.mdx
+17-1Lines changed: 17 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,10 +8,18 @@ You can use hidden pages for content that is not strictly confidential, but isn'
8
8
9
9
A page is hidden until you add it to a group, tab, or other navigation element in your `docs.json`.
10
10
11
+
<Warning>
12
+
**Hidden pages are publicly accessible!** While hidden pages don't appear in your site's navigation, they are still publicly accessible to anyone who has the direct URL. These pages are not password-protected or restricted in any way - they're simply not displayed in menus, sidebars, or other navigation elements. If you need true access control, use [Authentication](/settings/authentication-personalization/authentication) instead.
13
+
</Warning>
14
+
11
15
<Note>
12
16
Some navigation elements like sidebars, dropdowns, and tabs may shift or appear empty on hidden pages.
13
17
</Note>
14
18
19
+
## SEO and Search Indexing
20
+
21
+
Hidden pages can still be indexed by search engines and appear in search results unless you explicitly prevent this. By default, hidden pages may be excluded from indexing, but you can control this behavior:
22
+
15
23
If you want hidden pages to be indexed for SEO purposes and for their contents to appear when people search within your docs, add the following setting to your `docs.json`:
16
24
17
25
```
@@ -22,6 +30,14 @@ If you want hidden pages to be indexed for SEO purposes and for their contents t
22
30
23
31
If you want to exclude a specific hidden page's content from search engine and internal search results, add `noindex: true` to the frontmatter of the page.
24
32
33
+
## When to Use Hidden Pages vs. Authentication
34
+
35
+
Hidden pages are different from authenticated or private pages:
36
+
37
+
-**Hidden pages**: Publicly accessible via direct URL, just not shown in navigation
38
+
-**Authenticated pages**: Require login credentials to access
39
+
-**Private pages**: Restricted to specific user groups
40
+
25
41
If you have pages that you want only specific groups of your own users to have access to, you can use the selective groups access available through [Personalization](/settings/authentication-personalization/personalization#showing-hiding-pages).
26
42
27
-
If you have pages that you want to maintain strict access control to, you can use [Authentication](/settings/authentication-personalization/authentication).
43
+
If you have pages that you want to maintain strict access control to, you can use [Authentication](/settings/authentication-personalization/authentication).
0 commit comments