Search engines consider words closer together to be more relevant.
When I search for "Ruby Array" in Google I get the following results:
- "Class: Array (Ruby 3.0.1)" https://ruby-doc.org/core-3.0.1/Array.html
- "class Array - RDoc Documentation" https://docs.ruby-lang.org/en/2.5.0/Array.html
As ruby-doc.org has "Array" next to "Ruby" ruby-doc.org scores better than docs.ruby-lang.org.
When I search for the exact title "array documentation for Ruby 3.4" docs.ruby-lang.org gets the top spot:
- "class Array - Documentation for Ruby 3.4" https://docs.ruby-lang.org/en/3.4/Array.html
I suspect renaming the title to "class Array (Ruby 3.4 documentation)" will help SEO for docs.ruby-lang.org.
Search engines consider words closer together to be more relevant.
When I search for "Ruby Array" in Google I get the following results:
As
ruby-doc.orghas "Array" next to "Ruby"ruby-doc.orgscores better thandocs.ruby-lang.org.When I search for the exact title "array documentation for Ruby 3.4"
docs.ruby-lang.orggets the top spot:I suspect renaming the title to "class Array (Ruby 3.4 documentation)" will help SEO for
docs.ruby-lang.org.