No Code Attached Yet
avatar gkleissiaris
gkleissiaris
17 Mar 2021

Steps to reproduce the issue

• Install a basic Joomla! 3.9.25
• Installed languages: Greek and English
• Enable multilingual function
• Create a Greek and an English Main Menu
• Create example tags for each language
• Create a category and sub-category for each language
• Create example articles for each subcategory and attach example tags to them
• Create menu items for each language and “Compact List of Tagged Items” Menu Items pointing to example categories with a specific tag
• Click on an article tag URL and see where it redirects when the menu item has a language other than All (wrong redirection) and when it has All (correct redirection)

Articles created:

image
Image: https://prnt.sc/10o97nl

Categories created:

image
See image: https://prnt.sc/10o98xd

Tags created:

image
Image: https://prnt.sc/10o99gs

Menu items created:

image
Image: https://prnt.sc/10o9a1m

Expected result

When visiting /en/news-en/projects-en page, article tag URL should redirect to related “Compact List of Tagged Items” menu item, that is /en/news-en/projects-en/projects-with-label-02-en page
image
Image: https://prnt.sc/10o937p

Actual result

Label 01 tag that has English language selected in its menu item redirect to URL /en/component/tags/tag/label-01 instead of the correct URL, as the Label 02 tag that has All language selected in its menu item and redirects to correct URL /en/news-en/projects-en/projects-with-label-01-en.
image
Image: https://prnt.sc/10o9aup

System information

Joomla! 3.9.25
PHP Version: 7.3.27
Web Server: Apache
Database Version: 5.5.5-10.2.37-MariaDB
Search Engine Friendly URLs: Yes
Use URL Rewriting: Yes
No other extensions installed

Additional comments

I don't know if this is a bug or if i haven't setup something correctly. Please advise.

avatar gkleissiaris gkleissiaris - open - 17 Mar 2021
avatar joomla-cms-bot joomla-cms-bot - change - 17 Mar 2021
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 17 Mar 2021
avatar gkleissiaris gkleissiaris - change - 17 Mar 2021
The description was changed
avatar gkleissiaris gkleissiaris - edited - 17 Mar 2021
avatar gkleissiaris
gkleissiaris - comment - 24 Mar 2021

As I said before in my previous message, if you want to just overcome the problem and have the tags’ link pointing to the correct URL (a “Compact List of Tagged Items” menu item) that is /en/news-en/projects-en/projects-with-label-02-en page and not /en/component/tags/tag/label-01 page, you should just change the language of the “Compact List of Tagged Items” menu item from English to All. That should do the trick, even if it is considered a bug.

But if you want to redirect a tag URL to a “Single Article” menu Item, the following should do the trick, even if it may be considered a bug and not the correct way to do it, but I haven’t found any other way. If anyone else has another better way, please advise.

Redirect tag URL to a “Single Article” Menu Item

1. Create a new “Single Article” menu item with English language:

image
Image: https://prnt.sc/10u4z8n

2. Create a new “Compact List of Tagged Items” menu item with All language and same alias and the previous

image
Image: https://prnt.sc/10u5228

3. In page "Projects", the tag URL now points to "Single Article" menu item "Projects with Label 01":

image
Image: https://prnt.sc/10u53vy

image
Image: https://prnt.sc/10u54nm

avatar infograf768
infograf768 - comment - 24 Mar 2021

What is the language filter parameter used in Tags Options?

Screen Shot 2021-03-24 at 11 21 23

avatar gkleissiaris
gkleissiaris - comment - 24 Mar 2021

What is the language filter parameter used in Tags Options?

The default, "All". I didn't change it. Should I use "Current"? I didn't know there was such an option.

avatar sandramay0905
sandramay0905 - comment - 9 Apr 2021

Should I use "Current"? I didn't know there was such an option.

@gkleissiaris have you tried, whats the result?

avatar sandramay0905
sandramay0905 - comment - 22 Apr 2021

Can someone give the issue a label "Information required"?

avatar sandramay0905
sandramay0905 - comment - 11 May 2021

Simlar issue but for J4: #31754

avatar gklis
gklis - comment - 12 May 2021

Should I use "Current"? I didn't know there was such an option.

@gkleissiaris have you tried, whats the result?

Yes I did, with the same results.

avatar gklis
gklis - comment - 12 May 2021

Can someone give the issue a label "Information required"?

I suppose an administrator should do that, right?

avatar sandramay0905
sandramay0905 - comment - 13 May 2021

@gklis

Yes I did, with the same results.

Thanks for the information, no label now needed.

I will setup a site and try to get your issue.

Edit: Now i have seen your

I don't know if this is a bug or if i haven't setup something correctly. Please advise."

Do i understand correct you haven't asked in the forum?

avatar gklis
gklis - comment - 17 May 2021

Do i understand correct you haven't asked in the forum?

No I haven't.

avatar sandramay0905
sandramay0905 - comment - 18 May 2021

I will setup a site and try to get your issue.

Please ask first on the forum, thank you :-)

avatar brianteeman
brianteeman - comment - 26 Aug 2022

Thank you for raising this issue.

Joomla 3 is now in security only mode with no further bug fixes or new features.

As this issue doesn't relate to Joomla 4 it will now been closed.

If we are mistaken and this does apply to Joomla 4 please open a new issue (and reference this one if you wish) with updated details for testing in Joomla 4.
cc @zero-24

avatar Quy Quy - change - 26 Aug 2022
Status New Closed
Closed_Date 0000-00-00 00:00:00 2022-08-26 22:54:07
Closed_By Quy
Labels Added: No Code Attached Yet
Removed: ?
avatar Quy Quy - close - 26 Aug 2022

Add a Comment

Login with GitHub to post a comment