Install
Works with Drupal: ^10.3 || ^11 || ^12Using Composer to manage Drupal site dependencies
Alternative installation files
Download tar.gz
98.3 KB
MD5: c3fa4e05d6ec4cea970b1db99ad3c65d
SHA-1: 99fcbcb616e68e53d232a9c02ee80c18a085cd7f
SHA-256: a6e44dbbd92c99a36e523f93bf4bc92fe7b9fad307434a5439562e100fd8309f
Download zip
136.25 KB
MD5: 578a679ab39a5294a61817735ede9373
SHA-1: f94193d794cfc9372d7fb426793248e1c695940e
SHA-256: 0c64885fa91f0a87b84351cbc468407ede911414a4cf57f35f30f3ee8bd339a0
Release notes
3.1.9
New features
- Added
$settings['index_now.base_url']to submit URLs under
a custom domain. Useful for headless CMS setups where the public-facing
domain differs from the internal Drupal domain. Note: only the scheme and
host are replaced — the path structure must be identical on both domains.
See the README for the full configuration procedure.
(#3586683: Provide a way to set a custom base URL for the index (headless CMS)) - Added
hook_index_now_url_alter(string &$url, array $context)
to allow modules to alter the URL submitted to search engines. The
$contextarray exposes the entity that triggered the ping
(when available), enabling URL transformations based on entity type,
bundle, or any other property.
(#3557839: Allow Users to alter URLs submitted to Index Now and Key Location URL) - Added
hook_index_now_key_location_url_alter(string &$key_location)
to allow modules to alter the API key verification file URL.
(#3557839: Allow Users to alter URLs submitted to Index Now and Key Location URL)