-
Notifications
You must be signed in to change notification settings - Fork 68
(DOCSP-29016): Added SEO guidelines. #144
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 4 commits
63ba6b4
9f03e26
57fab45
30a5881
ace0961
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,98 @@ | ||
.. _seo-guidelines: | ||
|
||
===================================== | ||
Search Engine Optimization Guidelines | ||
===================================== | ||
|
||
Search Engine Optimization (SEO) considers the actual terms that users | ||
enter into search engines (keywords) and employs best practices to | ||
improve traffic to web pages from search engines. The following | ||
guidance should help you optimize your documentation pages for search. | ||
|
||
Titles | ||
------ | ||
|
||
Title pages and subsections according to the following SEO best | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. [suggestion, wording] It wasn't immediately clear to me that we're using "title" as a verb in this sentence. On initial reading I thought "title page" was a noun. Perhaps we can tweak this to something like: "Use the following SEO best practices for page and subsection titles: " |
||
practices: | ||
|
||
- Use a maximum of 70 characters. | ||
|
||
- Include target keywords (the actual terms that users | ||
enter into search engines to reach your page). | ||
|
||
- Avoid excessive or irrelevant words (keyword stuffing). | ||
|
||
- Strive for unique page titles. Identical titles, even between | ||
documentation sets, might compete in search results. | ||
|
||
To learn more, see :ref:`titles-and-headings`. | ||
|
||
Alternative Text | ||
---------------- | ||
|
||
Screen readers read alternative text for images aloud so that users can | ||
better understand an image. Specify alternative text according to the | ||
following SEO best practices: | ||
|
||
- Use a maximum of 125 characters per image. | ||
|
||
- Describe the image with sufficient detail to understand what it shows. | ||
|
||
- If it makes sense, include keywords (the actual terms that users | ||
enter into search engines). | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. [question] The phrase "if it makes sense" makes me wonder in which situations this practice doesn't make sense. Is that something we can possibly clarify a bit here? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I guess it's a question about whether the keywords for the page really apply to the image. I can think of examples where they might not. I'll change the wording to "If they apply to the image..." |
||
|
||
To learn more, see :ref:`write-for-accessibility`. | ||
|
||
Keywords | ||
-------- | ||
|
||
You can add the actual terms that users enter into search engines | ||
(keywords) to your page to improve its SEO. Add keywords according to | ||
the following best practices: | ||
Comment on lines
+48
to
+50
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Suggestion: I think it might be better to suggest that keywords may not help SEO nor be used to match up with search terms, at least with Google. See There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yes, there are two parts to these recommendations. We should use the language that users search for in our content. But, search engines might not account for the keyword tags that we use. |
||
|
||
- Take the most concise form of the information that the page conveys | ||
and make that the target keyword. | ||
Comment on lines
+52
to
+53
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. [suggestion, non-blocking] Would it be possible to include an example of this practice? For instance, I would find it helpful if we provided a link to some docs page and highlighted what the target keyword would be for that page. |
||
|
||
- Don't add keywords so broad that they compete with the product page. | ||
|
||
- Don't add keywords so specific that we miss the actual behavior of | ||
our searchers. For example, add “mongodb atlas course” instead of | ||
“Getting Started with Atlas Data Platform”. | ||
|
||
While keyword tags are available, some search engines might ignore | ||
these tags. To learn more, see :ref:`metadata`. | ||
|
||
Descriptions | ||
------------ | ||
|
||
The description is a snippet that appears under the link in the search | ||
results, which can impact SEO. Write these descriptions according to | ||
the following best practices: | ||
|
||
- Use a concise description of the page content that is enticing, if | ||
possible. | ||
|
||
- Emphasize the “why” for using the page. | ||
|
||
- Use a maximum of 155 characters. | ||
|
||
- Include target keywords and a call to action (CTA) that prompts the | ||
user to complete their desired task. | ||
|
||
.. example:: | ||
|
||
The following examples use a CTA in the description meta tag: | ||
|
||
.. code-block:: rst | ||
|
||
.. meta:: | ||
:description: Use a language analyzer to create search keywords in your Atlas Search index that are optimized for a particular natural language. | ||
|
||
.. code-block:: rst | ||
|
||
.. meta:: | ||
:description: Use the character filters in an Atlas Search custom analyzer to examine text one character at a time and perform filtering operations. | ||
|
||
- Use unique descriptions for every page. | ||
|
||
To learn more, see :ref:`metadata`. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[issue]
Our style guide suggests avoiding "via". Maybe consider "through the Internet" instead?
Style guide link: https://www.mongodb.com/docs/meta/style-guide/terminology/alphabetical-terms/#v