Set up version priorities for api.drupal.org pages in search engines

Created on 2 October 2018, over 6 years ago
Updated 20 May 2025, 14 days ago

Right now just about any query on google relating to an API function for drupal 8 will link you to the 8.2.x API documentation pages. While this might be expected thanks to older links being boosted from external incoming links, there must be some way to generate more SEO juice for the newest documentation pages while deprecating older 8.x versions? It seems too consistent to just be the result of external links.

Example: A google search for "drupal 8 entity type manager" always shows 8.2.x results from api.drupal.org
Entity::entityTypeManager | Entity.php | Drupal 8.2.x | Drupal API
entity_type.manager | core.services.yml | Drupal 8.2.x | Drupal API
Drupal::entityTypeManager | Drupal.php | Drupal 8.2.x | Drupal API

The api pages only reference the version number at the end of the url, and if you remove the version number they do return the latest 8.6 versions, however, somehow google is still universally prioritizing the 8.2.x links.

Could someone try to find out what the issue is?

Thanks everyone!

✨ Feature request
Status

Closed: duplicate

Version

2.0

Component

Other

Created by

πŸ‡©πŸ‡ͺGermany yareckon

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024