Nonsef URLs like this:
index.php?option=com_tags&Itemid=657&id=4-apple&view=tag
are turned into a correct SEF like this:
[menu-item-name]/[tag-name]
eg:
tags/apple
So this converts correctly.
However, nonsef URLs like this:
index.php?option=com_tags&Itemid=657&id[0]=4&view=tag
fail to generate a correct SEF, converting to ths:
menu-item-name/[TAG-ID]
eg:
tags/4
So in this case it doesn't use the name but it uses the ID of the tag.
To reproduce the issue, link to a URL formed like the above ones, for an existing com_tags tag.
index.php?option=com_tags&Itemid=657&id[0]=4&view=tag
should form an URL like:
tags/apple
But instead it forms an URL like:
tags/4
Tested on Joomla 4.3.4
Labels |
Added:
No Code Attached Yet
|
will do
Labels |
Added:
Information Required
|
Labels |
Added:
bug
|
This is not expected behavior and should be fixed. The problem is in the router of com_tags. The router does not load the right alias when the alias isn't given. This has to be added at the end of the build method. Would anybody be willing to take this up? It is a rather straightforward lookup in the database.
@Hackwar Could you have a look on this issue? To me it seems expected behaviour, but I'm not sure.