Hello,
I noticed an issue with the jDownloads router on the front page.
When the main jDownloads page is used as the front page, the generated URL includes:
/all
For example:
https://example.com/all
I would prefer the front page to use only:
https://example.com/
The relevant file appears to be:
/components/com_jdownloads/src/Helper/LegacyRouter.php
A possible solution is to add the downloads or all segment only when there is no matching menu item.
In other words:
If a menu item exists for the downloads view:
- Use the menu item URL
- Do not add `/all`
If no menu item exists:
- Add the fallback segment
This would keep the front page URL clean while still allowing the router fallback to work when no menu item is available.
Could you please check whether this can be added in the official router logic?
Best regards,
Hi Ibrahim,
thanks for the report, this was a valid router issue.
We have now adjusted the router logic so that the fallback segment all is no longer added when a matching Downloads menu item already exists (including front page usage).
Result: the main Downloads page can use the clean root URL instead of /all, while fallback behavior still works when no matching menu item is available.
The fix is already implemented and will be included in the upcoming jDownloads 4.1.5.