Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Alter Hreflang Based on Language

No security coverage Under active development 20 sites

This module allows you to customize the `hreflang` attribute on your site, supporting both single and multilingual setups. You can define custom language formats, such as `es-es` or `en-us`, to improve how search engines understand your site's language variations.

Alter hreflang
---------------
This will help to alter the hreflang attribute based on the languages of the site. Using this we can set the custom language format (e.g., es-es, en-us).
or

It will perfectly work with multilingual sites as well apart from a single language site.

Installation
------------
1) Download the module and place it inside the modules/contrib directory or install using the composer "composer require 'drupal/alter_hreflang:^1.0'.

2) Enable the Alter hreflang module from /admin/modules URL.

3) Configuration URL /admin/config/regional/alter-hreflang

Drupal 8–10 · not 11

Ask your assistant about Alter Hreflang Based on Language

Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works

Depends on

Dependencies of the latest stable release

No dependencies recorded for this project.

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
2
Tracked since
Mar 2023
Latest release
3 years ago
Releases (12 mo)
0
Maintenance
Dormant

Releases

Version Type Core PHP Release date
1.0.2 Stable 8–10 Jul 11, 2023
1.0.1 Stable 8–10 Mar 2, 2023