New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Article tag URL does not redirect to “Compact List of Tagged Items” Menu Item when other language except from All is selected in the menu item #32717
Comments
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 Item1. Create a new “Single Article” menu item with English language:
2. Create a new “Compact List of Tagged Items” menu item with All language and same alias and the previous
3. In page "Projects", the tag URL now points to "Single Article" menu item "Projects with Label 01":
|
The default, "All". I didn't change it. Should I use "Current"? I didn't know there was such an option. |
@gkleissiaris have you tried, whats the result? |
Can someone give the issue a label "Information required"? |
Simlar issue but for J4: #31754 |
Yes I did, with the same results. |
I suppose an administrator should do that, right? |
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
Do i understand correct you haven't asked in the forum? |
No I haven't. |
Please ask first on the forum, thank you :-) |
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. |
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: https://prnt.sc/10o97nl
Categories created:
See image: https://prnt.sc/10o98xd
Tags created:
Image: https://prnt.sc/10o99gs
Menu items created:
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: 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: 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.
The text was updated successfully, but these errors were encountered: