News:

Dear forum visitors, if the support forum is not available, please try again a few minutes later. Thanks!

Main Menu
Support-Forum

List All Downloads Front page URL includes /all instead of using the root URL

Started by ibrahim, 06.06.2026 17:49:30

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

ibrahim

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,
  •  

Arno

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.
Best Regards / Gruß
Arno
Please make a Donation for jDownloads and/or write a review on the Joomla! Extensions directory!
  •