Customers & growth · Developer marketing
SEO for developer content
Best for Early Startup to Startup
Use it when
Developers search for the problems your docs, tutorials and posts solve but land on old versions, forums or rivals, and you need the right page found.
Skip it when
- You have no list of the queries developers type. Use Keyword research framework first.
- You have queries and need to know what kind of page each one wants. Use Search intent framework, which feeds this.
- The page is still a draft whose facts and examples are unchecked. Use Technical writing framework first.
- One page lags the top results on depth, examples and media. Use Content optimization framework.
- You need one organic search plan for the whole site, tied to a business goal. Use SEO strategy framework, which feeds this.
What to apply first and what to use instead are listed below.
Inputs
- Developer query listTarget queries with monthly volume, including error messages, API, function and library names, from Keyword research framework.
- Search Console dataQueries, clicks, impressions and position per page, indexing status and 404 reports for the last 90 days.
- Docs search and analyticsInternal search terms, terms with no result and top landing pages for the last 90 days, from docs analytics.
- Page and version inventoryEvery URL with its docs version, translation and whether the version is current, supported or retired, from the docs build.
- Developer questionsOptionalWording from support tickets, forums and community channels in the last quarter.
Steps
- Match each page to the queries it should win, using the terms developers type, such as error text and API names, and list pages where your wording differs from theirs.
- Rewrite each page's title, first heading and meta description to name the task in those terms, and put the key answer at the top.
- Put code in text code blocks, give every image alt text and every video a text description.
- Point duplicates and older versions at the current page with canonical tags or redirects, and leave those pages open to crawling so search engines see the signal.
- Link every page from navigation or a related page, add a redirect for every moved URL, and fix the 404s Search Console reports.
- Keep the sitemap to current and supported versions with last-modified dates, then log each change with its baseline.
Output
A docs search change log for the pages in scope, with the baseline kept for later comparison.
- URL and docs version
- Target query and developer terms
- Title, heading and description, old and new
- Canonical target or redirect
- Orphan pages linked and 404s fixed
- Baseline clicks, impressions and position
- Change date
Done when
- Every page in scope has a title and meta description that name its task in the terms developers search with.
- Every duplicate or older-version page has a canonical tag or redirect pointing at the current page.
- No page in scope is orphaned, and every moved URL redirects.
- Code on every page is text, and every image has alt text.
- The baseline figures and change date are logged for every changed page.
Measure
Compare clicks, impressions and position for changed pages over the 8 weeks after the change with the 8 weeks before. Also track the share of search visits landing on current-version pages, docs searches with no result and 404s. It worked when clicks to current pages rise beyond their normal weekly swing and landings on old versions fall.
Hypothetical example
Corvid ships a message queue library with docs for versions 2, 3 and 4. Search Console showed most search visits landing on version 2 pages, and the top query was an error message that no current page mentioned. The team added canonical tags from versions 2 and 3 to the version 4 pages and dropped retired versions from the sitemap. It renamed the retry guide from "Delivery policies" to "Fix message timeout errors" and quoted the error text in the opening lines. It also replaced screenshot code with text code blocks and redirected 14 moved URLs. Eight weeks later, current-version landings rose from 30 to 70 percent of search visits.
Common mistakes
- Titling pages with internal product terms. Use the words developers type, such as the error text or the API name.
- Leaving old versions to compete with the current one. Point them at the current page with canonical tags or redirects.
- Blocking old versions in robots.txt to hide them. Google may still index blocked URLs without their content, so use canonical tags or redirects.
- Moving pages without redirects. Redirect every old URL and update internal links.
- Showing code as images. Put code in text blocks so search engines and readers can use it.
Sources
- How to do search engine optimization (SEO) for documentation projects · Read the Docs
- Making content findable in search (GitHub Docs contributor guide) · GitHub Docs
- Search engine optimization (SEO) for documentation · Write the Docs
Show all 4 sources
- How to specify a canonical URL with rel="canonical" and other methods · Google Search Central
By company stage
Apply first
- Keyword research frameworkCustomers & growth · SEO & search marketing
Optimising developer content for technical queries starts with keyword research.
Use instead
- Keyword research framework
You have no list of the queries developers type. Use Keyword research framework first.
- Search intent framework
You have queries and need to know what kind of page each one wants. Use Search intent framework, which feeds this.
- Technical writing framework
The page is still a draft whose facts and examples are unchecked. Use Technical writing framework first.
- Content optimization framework
One page lags the top results on depth, examples and media. Use Content optimization framework.
- SEO strategy framework
You need one organic search plan for the whole site, tied to a business goal. Use SEO strategy framework, which feeds this.
Where it sits
Open the developer marketing roadmapRecommended resources
No sponsored resources on this framework yet. Sponsored listings would be labelled here, never in search.
Progress is not saved until you have an account. Create a free account