Skip to content

Commit 22b3844

Browse files
authored
Merge pull request #189 from lindseymoore/DOCSP-49580-titles
DOCSP-49580 Update Titles Guidance
2 parents 008f9f5 + b5f9d50 commit 22b3844

File tree

2 files changed

+195
-85
lines changed

2 files changed

+195
-85
lines changed

source/style-guide/seo-guidelines.txt

Lines changed: 79 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,9 +65,88 @@ practices:
6565
example, use "This MongoDB Atlas course..." instead of "This Getting
6666
Started with Atlas course...".
6767

68+
.. _seo-guidelines-titles:
69+
6870
Titles
6971
------
7072

73+
Search engines weight page titles heavily. Name pages appropriately to ensure users can find
74+
relevant content in the MongoDB Documentation when they use a search engine.
75+
76+
Consider the following SEO principles when you name a page:
77+
78+
- Title Length
79+
80+
- Standardization
81+
82+
- Findability
83+
84+
- Disambiguation
85+
86+
The following subsections describe these principles.
87+
88+
Title Length
89+
~~~~~~~~~~~~
90+
91+
Titles should include 30-60 characters. Search engines often truncate pages
92+
with titles longer than 60 characters. Titles with fewer than 30 characters
93+
convey limited information to search engines, so search engines recommend these
94+
pages less often. Search engines might also create a longer page title for pages with
95+
titles under 30 characters.
96+
97+
As described in the :ref:`Page Title Structure <titles-page-title-structure>` subsection,
98+
the product name, version number, and "MongoDB Docs" are automatically appended to a title
99+
when the title is passed to a search engine. For example, for a v8.0 Server
100+
Manual page titled "Install MongoDB", the title is 15 characters long. The full
101+
title when passed to a search engine ("Install MongoDB - Database Manual v8.0 - MongoDB Docs")
102+
is 53 characters long. The appended additions to the title can add about 18-35
103+
characters to the title, depending on the length of the product name.
104+
105+
Standardization
106+
~~~~~~~~~~~~~~~
107+
108+
For pages across MongoDB documentation that cover similar concepts, use consistent
109+
wording in the page titles to ensure a consistent user experience.
110+
111+
For example, multiple pages in the documentation cover the Read CRUD operation.
112+
You can refer to the Read CRUD operation as a read, find, or query operation.
113+
Titles for pages that document the Read operation should use consistent terminology
114+
to refer to Read operations, based on the most findable term.
115+
116+
Findability
117+
~~~~~~~~~~~
118+
119+
Use the most relevant keywords in a page title. Pay attention to word order in a
120+
page title. Include the most relevant words at the beginning of the title.
121+
122+
When in doubt, search your potential page title in a search engine. The top five search
123+
results should resemble the content on your page.
124+
125+
Disambiguation
126+
~~~~~~~~~~~~~~
127+
128+
For pages that cover commands with the same name but different
129+
functions, add the command categories to the page titles to differentiate the pages.
130+
131+
For example, ``count`` is a database command, aggregation stage, aggregation
132+
operator, and ``mongosh`` method. For Server Manual pages, you
133+
can include the command category in the title, like
134+
"count (Database Command)," to differentiate between these pages.
135+
136+
.. _titles-page-title-structure:
137+
138+
Page Title Structure
139+
~~~~~~~~~~~~~~~~~~~~
140+
141+
The product name, version number, and "MongoDB Docs" are automatically appended to
142+
Documentation page titles when the title is passed to a search engine.
143+
144+
For example, a v8.0 Server Manual page titled "Install MongoDB" appears as
145+
"Install MongoDB - Database Manual v8.0 - MongoDB Docs" in search engine results.
146+
147+
General Guidelines
148+
~~~~~~~~~~~~~~~~~~
149+
71150
Use the following SEO best practices for page and subsection titles:
72151

73152
- Use a maximum of 70 characters.

source/style-guide/style/titles-and-headings.txt

Lines changed: 116 additions & 85 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,31 @@
77
Titles and Headings
88
===================
99

10-
This topic provides guidelines for creating titles and headings in
11-
documentation.
12-
1310
.. contents:: On this page
1411
:local:
1512
:backlinks: none
16-
:depth: 1
13+
:depth: 2
1714
:class: singlecol
1815

16+
This topic provides guidelines for creating titles and headings in
17+
documentation.
18+
19+
Why Do Page Titles Matter for SEO?
20+
----------------------------------
21+
22+
A page title is weighted as most relevant to a user's search engine query. Name
23+
pages appropriately to ensure users can find relevant content in the MongoDB
24+
Documentation when using a search engine.
25+
26+
Page Title Structure
27+
~~~~~~~~~~~~~~~~~~~~
28+
29+
The product name, version number, and "MongoDB Docs" are automatically appended to
30+
Documentation page titles when a title is passed to a search engine.
31+
32+
For example, a v8.0 Server Manual page titled "Install MongoDB" appears as
33+
"Install MongoDB - Database Manual v8.0 - MongoDB Docs" in search engine results.
34+
1935
Capitalization
2036
--------------
2137

@@ -29,7 +45,7 @@ Capitalization
2945
.. _headline-style-capitalization:
3046

3147
Guidelines for Headline-Style Capitalization
32-
--------------------------------------------
48+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3349

3450
AP headline-style capitalization uses initial uppercase letters for the
3551
first, last, and all the significant words in the title.
@@ -66,63 +82,25 @@ words:
6682
To learn more about the principles of headline-style capitalization,
6783
read `section 8.159 <https://www.chicagomanualofstyle.org/book/ed17/part2/ch08/psec159.html>`__ of the *Chicago Manual of Style*.
6884

69-
Style and Structure
70-
~~~~~~~~~~~~~~~~~~~
71-
72-
Use the guidelines in this section to create effective and consistent
73-
titles and headings. The following guidelines apply to all titles and
74-
headings; special considerations for stand-alone articles, product
75-
guides, and tables, figures, and examples follow this list.
85+
.. _general-title-guidance:
7686

77-
- Create succinct, meaningful, descriptive titles and headings, and
78-
place the most important words first.
87+
Guidelines for Titles and Headings
88+
----------------------------------
7989

80-
- Ensure that each title and heading is unique. Identical titles, even
81-
between documentation sets, might compete in search results.
90+
Use the guidelines in the following subsections to create effective and consistent
91+
titles and headings. You can find special considerations for stand-alone articles, product
92+
guides, tables, figures, and examples in the :ref:`Product Guides <titles-product-guides>` and
93+
:ref:`Tables, Figures, and Headings <titles-table-figures-ex>` subsections.
8294

83-
- Don't include "MongoDB" in a title unless the page is a product
84-
landing page.
95+
.. _title-grammar:
8596

86-
- Include articles, prepositions, and punctuation as needed for
87-
clarity. However, avoid using an article (*a*, *an*, or *the*) as the
88-
first word.
97+
Grammatical Structure for Different Page Types
98+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
8999

90-
- Avoid showing both an abbreviation and its spelled-out term in a
91-
title or heading. To help control the length of titles and headings,
92-
show the abbreviation in the title or heading and then define it in
93-
the first paragraph of the text.
100+
Use a consistent grammatical structure for the titles and headings of
101+
specific types of content:
94102

95-
- If you show a literal term (such as a command or option name) in a
96-
title or heading, follow it with an appropriate noun.
97-
98-
- Don't end a title or heading with a colon or period. If the title or
99-
heading is in the form of a question, end it with a question mark.
100-
101-
- Don't apply font treatments (bold, italics, or monospace) to text in
102-
a title or heading.
103-
104-
- Don't include trademark symbols in titles or headings. Show the
105-
symbol on the first use of the trademark in text.
106-
107-
- Avoid having only a single heading at any level (for example, a
108-
single subsection in an article or section). If you find that you
109-
have a single heading at any one level, consider whether you can
110-
reorganize the information to either eliminate the heading or add a
111-
second one at that level.
112-
113-
- Avoid having more than two levels of sections within an article or
114-
topic. If you use more than two levels of sections, consider whether
115-
you can reorganize to make the structure flatter.
116-
117-
- Don’t "stack" titles or headings. That is, don’t immediately follow a
118-
title or heading with another title or heading. Text should always
119-
intervene between them. Ensure that such text is meaningful. If it is
120-
just filler text, consider whether you can restructure the content.
121-
122-
- Use a consistent grammatical structure for the titles and headings of
123-
specific types of content:
124-
125-
.. list-table::
103+
.. list-table::
126104
:widths: 15 25 30 30
127105
:header-rows: 1
128106

@@ -134,70 +112,119 @@ guides, and tables, figures, and examples follow this list.
134112
* - Conceptual
135113
- Any grammatical structure that's appropriate, except a verb,
136114
gerund, or infinitive
137-
- Linux distributions
115+
- Linux Distributions
138116

139-
Best practices for backing up your data
117+
Best Practices for Backing Up Your Data
140118
- Core concepts
141119

142-
How monitoring works
120+
How Monitoring Works
143121

144-
Limitations of detaching from MongoDB networks
122+
Limitations of Detaching from MongoDB Networks
145123

146-
* - Step-by-step instructions (a task)
124+
* - Tutorial or high-level process
147125
- An imperative verb
148126

149127
.. note::
150128
For specific guidelines for headings within tasks, see
151129
:ref:`tasks`.
152-
- Identify network interfaces on Linux
153-
154-
Prepare data disks on servers running Windows
130+
- Identify Network Interfaces on Linux
155131

156-
Set up Mobile Sync for Webmail
157-
- Sign up for a MongoDB Atlas account
158-
159-
* - Tutorial or high-level process
160-
- A gerund
161-
- Understanding logrotate
132+
Prepare Data Disks on Servers Running Windows
162133

163-
Customizing Apache web logs
164-
- Working with your first message queue
134+
Set Up Mobile Sync for Webmail
135+
- Sign Up for a MongoDB Atlas Account
165136

166137
* - Reference
167138
- A plural noun or a noun phrase
168-
- Permissions matrix for Cloud Networks
139+
- Permissions Matrix for Cloud Networks
169140

170-
MongoDB Auto Scale glossary
171-
- Environment variables for the nova and supernova clients
141+
MongoDB Auto Scale Glossary
142+
- Environment Variables for the Nova and Supernova Clients
172143

173-
Restore operations
144+
Operators and Collectors
174145

175-
cURL command summary
146+
cURL Command Summary
176147

177148
* - Troubleshooting
178149
- A grammatical structure that's appropriate for the type of
179150
content (a troubleshooting topic can contain task, tutorial,
180151
concept, or reference information)
181-
- Troubleshoot alarms
152+
- Troubleshoot Alarms
182153

183-
Service troubleshooting on Linux
154+
Service Troubleshooting on Linux
184155
- Troubleshooting
185156

186157
* - FAQ
187158
- A descriptive noun or noun phrase, followed by *FAQ*
188159
- MongoDB Cloud Billing FAQ
189160

190-
Scheduled images FAQ
161+
Scheduled Images FAQ
191162
- Not applicable
192163

164+
SEO Guidelines for Titles
165+
~~~~~~~~~~~~~~~~~~~~~~~~~
166+
167+
To learn more about SEO guidelines for titles, see the
168+
:ref:`Titles <seo-guidelines-titles>` section of Search Engine Optimization Guidelines.
169+
170+
General Style and Structure
171+
~~~~~~~~~~~~~~~~~~~~~~~~~~~
172+
173+
The following guidelines apply to all titles and headings:
174+
175+
- Create succinct, meaningful, descriptive titles and headings, and
176+
place the most important words first.
177+
178+
- Ensure that each title and heading is unique. Identical titles, even
179+
between documentation sets, might compete in search results.
180+
181+
- Don't include "MongoDB" in a title unless the page is a product
182+
landing page.
183+
184+
- Include articles, prepositions, and punctuation as needed for
185+
clarity. However, avoid using an article (*a*, *an*, or *the*) as the
186+
first word.
187+
188+
- Avoid showing both an abbreviation and its spelled-out term in a
189+
title or heading. To help control the length of titles and headings,
190+
show the abbreviation in the title or heading and then define it in
191+
the first paragraph of the text.
192+
193+
- If you show a literal term (such as a command or option name) in a
194+
title or heading, follow it with an appropriate noun.
195+
196+
- Don't end a title or heading with a colon or period. If the title or
197+
heading is in the form of a question, end it with a question mark.
198+
199+
- Don't apply font formatting (bold, italics, or monospace) to text in
200+
a title or heading.
201+
202+
- Don't include trademark symbols in titles or headings. Show the
203+
symbol on the first use of the trademark in text.
204+
205+
- Avoid having only a single heading at any level (for example, a
206+
single subsection in an article or section). If you find that you
207+
have a single heading at any one level, consider whether you can
208+
reorganize the information to either eliminate the heading or add a
209+
second one at that level.
210+
211+
- Avoid having more than two levels of headings within an article or
212+
topic. If you use more than two levels of headings, consider whether
213+
you can reorganize to make the structure flatter.
214+
215+
- Don't "stack" titles or headings. That is, don't immediately follow a
216+
title or heading with another title or heading. Text should always
217+
intervene between them. Ensure that such text is meaningful. If it is
218+
just filler text, consider whether you can restructure the content.
219+
193220
Standalone Articles
194221
~~~~~~~~~~~~~~~~~~~
195222

196223
In addition to the preceding guidelines, use the following guidelines
197224
when creating titles and headings for stand-alone articles on the
198225
Support site or in other collections of documentation:
199226

200-
- Create article titles that dont rely on body text or other titles
227+
- Create article titles that don't rely on body text or other titles
201228
for their meaning (that are, in other words, independent of context).
202229
Users should be able to tell from a title whether the information in
203230
the article is relevant to their needs. Avoid ambiguous one-word
@@ -212,6 +239,8 @@ Support site or in other collections of documentation:
212239
- Start with the highest level of heading that is approved for headings
213240
(for example, h3), and do not skip heading levels.
214241

242+
.. _titles-product-guides:
243+
215244
Product Guides
216245
~~~~~~~~~~~~~~
217246

@@ -230,8 +259,10 @@ when creating titles and headings for sections in product guides:
230259

231260
- Define consistent heading levels, and do not skip levels.
232261

262+
.. _titles-table-figures-ex:
263+
233264
Tables, Figures, and Examples
234-
-----------------------------
265+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
235266

236267
As a general rule, tables, figures, and examples should have titles
237268
(also called captions). However, tables, figures, and examples in
@@ -247,9 +278,9 @@ when creating titles for tables, figures, and examples:
247278
- Avoid using a title that duplicates an article or section title.
248279

249280
Text Following Titles and Headings
250-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
281+
----------------------------------
251282

252-
Dont immediately follow a title or heading with another title or
283+
Don't immediately follow a title or heading with another title or
253284
heading. Instead, follow a title or heading with body text.
254285

255286
The body text must be independent from the title or heading. Don't use
@@ -274,7 +305,7 @@ to the title or heading as its antecedent.
274305
This article briefly describes how to do this.
275306

276307
Tables of Contents
277-
~~~~~~~~~~~~~~~~~~
308+
------------------
278309

279310
In addition to using the preceding guidelines when creating titles and
280311
headings, use the following guidelines when creating a table of

0 commit comments

Comments
 (0)