No Code Attached Yet
avatar hakanara
hakanara
29 Nov 2020

Executive summary

Tag links on Tags Popular module and articles are pointing to a nonSEF URL in multilanguage mode like www.mysite.com/component/tags/tag/joomla.html even if there is a menu item that is set to "List all tags".

Steps to reproduce the issue

  • Setup a new MULTILANGUAGE web site by following these steps (Fresh setup for multilanguage site):
    https://docs.joomla.org/J3.x:Setup_a_Multilingual_Site/Installing_New_Language

  • Create 2 "List All Tags" menu items for each language (In my case Turkish and English)
    (Where the created menu items lead to: index.php?option=com_tags&view=tags)

  • In Global Configuration, say yes to these 3 settings:
    Search Engine Friendly URLs
    Use URL Rewriting
    Add Suffix to URL

  • Rename htaccess file on the server as .htaccess.

Expected result

Tags on the "Tags Popular" module pointing to a menu like:
www.mysite.com/tr/myTurkishTagsAlias/joomla and
www.mysite.com/en/myEnglishTagsAlias/joomla.
(Joomla is the only available tag after the setup.)

Actual result

www.mysite.com/en/component/tags/tag/joomla.html
www.mysite.com/tr/component/tags/tag/joomla.html
(This issue is the same for blog post tags and the tags in "tags popular" module.)

If there is only one tag menu item assigned to all languages, it works as I have expected above.

System information (as much as possible)

Joomla 3.9.23 (Latest as of today)

Additional comments

You can read the same issue here that was written many years ago:
https://forum.joomla.org/viewtopic.php?t=859288

It might be a router issue because the same issue arises on the blog view. The tags of the articles also lead to a link like component/tags/tag/joomla.html when there is more than one tags menu item that are assigned to different languages.

Thank you very much to all the members of Joomla team who are putting their love to this wonderful CMS.

avatar hakanara hakanara - open - 29 Nov 2020
avatar joomla-cms-bot joomla-cms-bot - change - 29 Nov 2020
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 29 Nov 2020
avatar hakanara hakanara - change - 29 Nov 2020
The description was changed
avatar hakanara hakanara - edited - 29 Nov 2020
avatar hakanara hakanara - change - 29 Nov 2020
The description was changed
avatar hakanara hakanara - edited - 29 Nov 2020
avatar hakanara hakanara - change - 29 Nov 2020
The description was changed
avatar hakanara hakanara - edited - 29 Nov 2020
avatar hakanara
hakanara - comment - 29 Nov 2020

After making some more research, I realize that this conflict only arises when you set the language of "List all tags" menu item to a specific language. If the language of the menu item is set to "all" the links look OK. So also in this case, I couldn't assign two different alias to tags for two different languages.

avatar hakanara hakanara - change - 2 Dec 2020
The description was changed
avatar hakanara hakanara - edited - 2 Dec 2020
avatar hakanara hakanara - change - 2 Dec 2020
The description was changed
avatar hakanara hakanara - edited - 2 Dec 2020
avatar hakanara hakanara - change - 2 Dec 2020
The description was changed
avatar hakanara hakanara - edited - 2 Dec 2020
avatar hakanara hakanara - change - 2 Dec 2020
The description was changed
avatar hakanara hakanara - edited - 2 Dec 2020
avatar hakanara hakanara - change - 2 Dec 2020
The description was changed
avatar hakanara hakanara - edited - 2 Dec 2020
avatar hakanara hakanara - change - 2 Dec 2020
The description was changed
avatar hakanara hakanara - edited - 2 Dec 2020
avatar hakanara hakanara - change - 2 Dec 2020
The description was changed
avatar hakanara hakanara - edited - 2 Dec 2020
avatar hakanara hakanara - change - 4 Dec 2020
The description was changed
avatar hakanara hakanara - edited - 4 Dec 2020
avatar hakanara hakanara - change - 4 Dec 2020
Title
Tag links on Tags Popular module are not pointing to a SEF URL in multilanguage mode
Tag links on Tags Popular module and articles are not pointing to a SEF URL in multilanguage mode
avatar hakanara hakanara - edited - 4 Dec 2020
avatar infograf768
infograf768 - comment - 5 Dec 2020

have you set Tags Options to use "Current"?
Screen Shot 2020-12-05 at 10 35 24

avatar hakanara
hakanara - comment - 5 Dec 2020

Hello @infograf768

Actually I saw it from one of your old posts on Joomla forum and had already tried changing the setting as "current". The links are still as I have described above. Like:
www.mysite.com/tr/component/tags/tag/joomla.html

This never happens if we create different aliases for blog or from any other component with different language selections. So this is interesting. I have been observing this for about a year on my site. This is not something new. According to the Joomla forum post from 2014, the same issue was still there then.

Thank you for your time. For thinking on it and answering me.

avatar hakanara hakanara - change - 10 Dec 2020
The description was changed
avatar hakanara hakanara - edited - 10 Dec 2020
avatar hakanara hakanara - change - 15 Dec 2020
Title
Tag links on Tags Popular module and articles are not pointing to a SEF URL in multilanguage mode
Tag links are not pointing to a nonSEF URL in multilanguage mode
avatar hakanara hakanara - edited - 15 Dec 2020
avatar hakanara hakanara - change - 15 Dec 2020
The description was changed
avatar hakanara hakanara - edited - 15 Dec 2020
avatar hakanara hakanara - change - 15 Dec 2020
The description was changed
avatar hakanara hakanara - edited - 15 Dec 2020
avatar hakanara hakanara - change - 15 Dec 2020
The description was changed
avatar hakanara hakanara - edited - 15 Dec 2020
avatar hakanara hakanara - change - 15 Dec 2020
Title
Tag links are not pointing to a nonSEF URL in multilanguage mode
Tag links are pointing to a nonSEF URL in multilanguage mode
avatar hakanara hakanara - edited - 15 Dec 2020
avatar hakanara hakanara - change - 16 Dec 2020
The description was changed
avatar hakanara hakanara - edited - 16 Dec 2020
avatar hakanara hakanara - change - 5 Jan 2021
The description was changed
avatar hakanara hakanara - edited - 5 Jan 2021
avatar alikon alikon - close - 27 May 2022
avatar alikon
alikon - comment - 27 May 2022

please test #37721

avatar alikon alikon - change - 27 May 2022
Status New Closed
Closed_Date 0000-00-00 00:00:00 2022-05-27 14:30:31
Closed_By alikon
Labels Added: No Code Attached Yet
Removed: ?
avatar hakanara
hakanara - comment - 27 May 2022

Hello @alikon . I have been thinking about this issue recently (which I have opened 1,5 years ago). Thank you very much for all the contributors. Somebody heard us. I can't test it right now but I would like to ask, will this fix be applied to Joomla 3.10 as well?

avatar simbus82
simbus82 - comment - 5 Aug 2022

In Joomla 3.10.10 this is really broken... The tags list in a category view generate nonSEF url.

@alikon @infograf768
We have translated an IT site to EN and now all of our tagging system have broken URLs.
A non SEF url cause a lot of problems, like an impossible module assignement to a menu voice.

How we can solve?

We have duplicated and assigned to the right language every element (tags, menu voices and articles) and it's broken.

avatar Hackwar
Hackwar - comment - 11 Nov 2022

I've done a few bugfixes to the tags, which also should fix a bunch of the routing problems. Please have a look at #39113, #39140 and #39114 Helping to test these would get this into 4.3 and hopefully fix your issues.

Add a Comment

Login with GitHub to post a comment