jDownloads Support Forum

Older Versions => jDownloads 3.2 (Support ended) => Bugs => Topic started by: paranic on 02.05.2015 22:22:14

Title: Use titles in SEF URLs not work
Post by: paranic on 02.05.2015 22:22:14
hi, in jd 1.9x my site urls was like this with set no "Use titles in SEF URLs" option
www.site.com/12/3245

but in jd 3x this option Does not work and put cat and download titles in url
like:
www.site.com/12-mode/3245-best-of-the-year

sorry my EN language is bad



Title: Re: Use titles in SEF URLs not work
Post by: ColinM on 03.05.2015 13:21:59
@paranic
I have not used the option "Use files title as download link?" for a very long time, and would confirm that it is not working.
So I have moved to the bug category.  Most people use SEF and want the names.

@Arno
Config use.sef.with.file.titles does not appear to be used when creating links for cats or downloads

Colin
Title: Re: Use titles in SEF URLs not work
Post by: Arno on 04.05.2015 08:48:44
Thanks. I will check this.
Title: Re: Use titles in SEF URLs not work
Post by: rikoooo on 09.05.2015 13:27:26
Hello,

I have the same problem, I'm currently waiting a fix for this bug so then I can finally migrate to the latest version of Jdownloads. Please do not change the links style : "/viewdownload/109/764" because my programs use those links to check the updates. And I cannot change my programs.

Unlike you think, there's many people who do not use safe url especially for jdownloads, because like for me, I need to change the title of my downloads many time (like for updates) so it will also change the url which is not what I want.

Thank you very much

Erik
Title: Re: Use titles in SEF URLs not work
Post by: Arno on 10.05.2015 11:29:37
I must confirm that this option is not used in the new jD series.
I will see what i can doing here. But it seems not to be so easy.  :-\
Title: Re: Use titles in SEF URLs not work
Post by: rikoooo on 12.05.2015 13:07:32
Hi,

Any update ?
Is there a way to simply disable sef url in Jdownloads by removing some php code ? at least that would fix the bug for me while waiting for a new release .

Thank you,

Regards,

Erik
Title: Re: Use titles in SEF URLs not work
Post by: ColinM on 12.05.2015 16:01:02
Hi
As Arno indicated this is not a simple fix.  If it were simple Arno would have posted a replacement php file.  So very sorry about this but it takes time because of all the options to test once the cure has been found. :(

Colin
Title: Re: Use titles in SEF URLs not work
Post by: Arno on 15.05.2015 10:59:14
Hi rikoooo,
Quote... with set no "Use titles in SEF URLs" option
actually should this option be removed from configuration - but i have it overlooked.  :-\

Have you tried to deactivate the sef settings in Joomla global configuration?
Possible also to use a sef component to build the link in your scheme.

Fact is, that it is not possible to use the old option in the moment. I would have to rework to many files to get this option usable.
So i will remove this option in the next release. Sorry.

Title: Re: Use titles in SEF URLs not work
Post by: rikoooo on 17.05.2015 12:42:28
Hello Arno,

Thanks for your reply. I understand that you will remove this option :(

I actually need SEF for the rest of my componant in Joomla, so I can't disable SEF in joomla setting. And the use of a sef componant won't help much either.

What I need is to have my page description links looking that way : http://www.exemple.com/downloads/viewdownload/6/488 (this is Jdownloads 1.9 style) however, I have noticed that in Jdownloads 3.2.31 or 2.5.28 the links also works with this style : http://www.exemple.com/downloads/download/6/488.

So what I did is adding a line in .htaccess to replace (redirect) /downloads/viewdownload/ by /downloads/download/ and it works, so my programms now still point to the correct url.

Best regards,

Erik
Title: Re: Use titles in SEF URLs not work - [Solved]
Post by: Arno on 17.05.2015 13:14:15
Good idea to solve your problem!  ;D