jDownloads Support Forum

jDownloads for Joomla 4.x and 5.x => jDownloads 4.0 => General => Topic started by: patbe60 on 23.08.2024 18:28:13

Title: Problem with SEF URL
Post by: patbe60 on 23.08.2024 18:28:13
Hello
I have a problem on only one website with SEF URLs in jDownload component.
SEF doesn't work. On my local environment I get this  (correct) URL:

http://localhost:8888/ferbattu/downloads/category/2-arrangements

After uploading the whole site I get this URL:
https://www.ferbattu.ch/downloads?view=category&catid=2

All other links on this site have a SEF URL.

jDownloads works also without any problem on other websites I manage.

I don't have any idea where I could change any settings. I have enabled Search Engine Friendly URLs and Use URL Rewriting and also changed htaccess.text into .htaccess.

As I said, the problem only occurs on this one website. So it isn't a jDownload problem.

Maybe I could get a hint where to search to solve this problem.

Thank you and best regards
Patrik
Title: SEF doesn't work
Post by: ColinM on 23.08.2024 21:37:32
Hi
jD has not yet implemented SEF links. URL Routing option in Front End Options cannot be set to Yes
Colin
Title: Re: Problem with SEF URL
Post by: patbe60 on 24.08.2024 00:48:56
And why is it working on my local environment but not on my productive website?
Please check the two different kind of URL I have shown on my first post.

local environment: http://localhost:8888/ferbattu/downloads/category/2-arrangements

Live: https://www.ferbattu.ch/downloads?view=category&catid=2

It works also on other websites.

I'm using everywhere Joomla 5.1.2 and jD 4.0.43.

Title: Ref-SEF links
Post by: ColinM on 24.08.2024 10:38:50
Hi
I cannot comment on your local site as obviously I cannot view it.
On the main site https://www.ferbattu.ch/  you are using jD to just play music so there are no links.
Maybe if I were able to login there would be other items.
I will send you a Private Message (PM) - these are secure.
Colin
Title: Re: Problem with SEF URL
Post by: patbe60 on 29.08.2024 15:53:00
Problem solved.
Read https://www.jdownloads.com/forum/index.php?topic=14123.0
Title: Re: Problem with SEF URL
Post by: mhehm on 08.10.2024 09:14:00
Hi, there is an issue on jdownloads file name in latest versions
below file name is incorrect:
legacyrouter.php

you must go to  JoomlaRoot\components\com_jdownloads\site\src\Helper
and rename legacyrouter.php to LegacyRouter.php