You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Global configuration > SEO
Search Engine Friendly URLs: Yes
Use URL Rewriting: Yes
Plugins > System - SEF
Site Domain: https://www.example.com
Enforce a suffix by redirect: Yes
Strict handling of index.php: Yes
Trailing slash for URLs: Enforce URLs without trailing slash
Strict Routing: Yes
Create a multilingual site with the associations between articles, categories and menus correctly set up.
For example, 2 menus for English and Spanish, with a blog menu item and 2 articles. English is the default language.
In the source code there should be 2 language association tags (English and Spanish language), another one for the default language and the canonical URL tag.
Steps to reproduce the issue
Global configuration > SEO
Search Engine Friendly URLs: Yes
Use URL Rewriting: Yes
Plugins > System - SEF
Site Domain: https://www.example.com
Enforce a suffix by redirect: Yes
Strict handling of index.php: Yes
Trailing slash for URLs: Enforce URLs without trailing slash
Strict Routing: Yes
Create a multilingual site with the associations between articles, categories and menus correctly set up.
For example, 2 menus for English and Spanish, with a blog menu item and 2 articles. English is the default language.
English:
https://www.example.com/en/blog/article-1-en
https://www.example.com/en/blog/article-2-en
Spanish:
https://www.example.com/es/blog/article-1-es
https://www.example.com/es/blog/article-2-es
Expected result
If article 1 is accessed from the English menu:
https://www.example.com/en/blog/article-1-en
In the source code there should be 2 language association tags (English and Spanish language), another one for the default language and the canonical URL tag.
Actual result
Currently the hreflang tag of the language itself is replaced by the canonical URL tag.
If the "Site Domain" field is left empty (Plugins > System - SEF), in this case the language association tags are added but not the canonical URL tag.
System information (as much as possible)
PHP Version: 8.3.6
Database Version: 10.6.17-MariaDB
Web Server: Apache/2.4.58 (Win64) OpenSSL/3.1.3 PHP/8.3.6
WebServer to PHP Interface: apache2handler
Joomla! Version: Joomla! 5.2.0 Stable [ Uthabiti ] 15-October-2024 16:00 GMT
No external plugins installed.
Additional comments
From Google documentation:
Google documentation. International and multilingual
"Each language version must list itself as well as all other language versions."
The text was updated successfully, but these errors were encountered: