0

In my Joomla extension I create a list with links to the detail descriptions as SEF-URLs which are running fine in Joomla 3 but not in Joomla 4.

I found out that in Joomla ...\libraries\src\Router\Router.php in the function parse() an error is thrown if the uri path in line 161 is not empty. If I comment out this line, everything works fine.

My question is, how can I remove the uri path from my extension, or is that not a good idea at all?

I have a router.php with build and parse functions in my extension that process the SEF URLs like this:

https://base-url/index.php/detailspageslug/detail-short-description-as-slug/5bcd70a9-548b-4ea0-94f5-c2c3d1683221

0 Answers0