No Code Attached Yet
avatar bettingexchange
bettingexchange
9 Apr 2025

Steps to reproduce the issue

i am user of Joomla since 2011 with many sites.
I found a important bug in sef plugin Joomla 5.2
Sef plugin is actived and i choice force url without final slash (/)
I need to cancel the final / cause i have a multilingue site in italian language (default), en ( english) and es (spain).
So with sef plugin published without slash i have lot of problems with hreflang
On /en and /es home page there is as hreflang the home page italian with /it . I removed with filter language the lingue code but there is in these home page. If i unpublished the sef plugin there is not this problem but i have en and es with slash.
And the default language hreflang have the problems. The default language it is not in page only in italian language.

Expected result

Actual result

System information (as much as possible)

Additional comments

avatar bettingexchange bettingexchange - open - 9 Apr 2025
avatar joomla-cms-bot joomla-cms-bot - change - 9 Apr 2025
Labels Added: No Code Attached Yet
avatar joomla-cms-bot joomla-cms-bot - labeled - 9 Apr 2025
avatar fgsw
fgsw - comment - 9 Apr 2025

@bettingexchange Reading the issue i don't get it. Maybe you can write the

Expected result

and the

Actual result

Or its me and another one understand the issue.

avatar bettingexchange
bettingexchange - comment - 9 Apr 2025

Expected result
the site is www.bettingexchange.net.
In www.bettingexchange.net/en the expected results are 4 hreflang
en- EN https://bettingexchange.net/en
es-EShttps://bettingexchange.net/es
it-IThttps://bettingexchange.net/
x-defaulthttps://bettingexchange.net/

this the same for en and es
for home page it

it -https://bettingexchange.net/
es-EShttps://bettingexchange.net/es
en-GBhttps://bettingexchange.net/en
x-defaulthttps://bettingexchange.net/

Actual result
Or its me and another one understand the issue.

en-
es-EShttps://bettingexchange.net/es
it-IThttps://bettingexchange.net/it
x-defaulthttps://bettingexchange.net/it

for home page it

it
es-EShttps://bettingexchange.net/es
en-GBhttps://bettingexchange.net/en
x-defaulthttps://bettingexchange.net/

so for english there is not hreflang in en and /it that it is wrong.
For italian you can see.

i insert a module force that insert the actual language. So if now you see the site you will see the actual hreflang but it is a module that force it but i don't resolve for /it etc
It is the sef plugin that create the issue with force no slash

avatar QuyTon
QuyTon - comment - 9 Apr 2025

@bettingexchange Please see if this is a duplicate of one of the reported issues:
https://github.com/joomla/joomla-cms/issues?q=is%3Aissue%20state%3Aopen%20hreflang

avatar bettingexchange
bettingexchange - comment - 9 Apr 2025

yes it is the same problems that have ALL people that use Joomla for multilingual site.
The sef plugin with force no slash cause the problem with actual language and default language with hreflang.
I hope you can resolve it.

avatar fgsw
fgsw - comment - 10 Apr 2025

@bettingexchange Please close the issue as the bug is allready reported and comment on the reported issue, thanks.

avatar bettingexchange bettingexchange - change - 10 Apr 2025
Status New Closed
Closed_Date 0000-00-00 00:00:00 2025-04-10 10:53:48
Closed_By bettingexchange
avatar bettingexchange bettingexchange - close - 10 Apr 2025

Add a Comment

Login with GitHub to post a comment