jDownloads Support Forum

Older Versions => jDownloads 3.2 (Support ended) => General => Topic started by: Yomoto on 26.02.2019 17:15:25

Title: In URL only ID
Post by: Yomoto on 26.02.2019 17:15:25
Hey.
It is necessary that the URL were only ID without aliases
Now so:
https://mysite/documents/download/28-rd/6029-kartochka
Need to:
https://mysite/documents/download/28/6029
I did not find it in the settings. In the admin of the file I cleaned the alias, saved it, but the alias is formed and substituted automatically.
I tried to remove aliases in the database. It turns out, but after the ID the "-" sign is substituted:
https://mysite/documents/download/28-/6029-

Translated by Google Translate  :) Sorry
Title: Re: In URL only ID
Post by: ColinM on 27.02.2019 11:28:57
Hi
Aliases are vital to the way that Joomla! works so you cannot get rid of them.  Until recently all aliases included the ID. Such as you illustrated with
https://mysite/documents/download/28-rd/6029-kartochka With recent versions of Joomla! there is a choice od selecting what is called 'Modern'  - In this mode the link becomeshttps://mysite/documents/download/rd/kartochka

That is the IDs are removed which are rated as being more 'user friendly'.This is actually the reverse of what you are suggesting!!
At the present time jD does not support the 'modern' mode but it is being worked on in for the next major release.
If you want to try something now I have used the Direct Alias extension fromhttps://alterbrains.com/joomla-extensions/seo/direct-aliasThere is a free version which works OK.
Colin

Title: Re: In URL only ID
Post by: Yomoto on 27.02.2019 12:25:04
Thanks for the answer.
Too bad that the document is available at several addresses. Example:

https://mysite/documents/download/28-rd/6031-zhurnal-ucheta-samospasatelej
https://mysite/documents/download/28-rd/6031
https://mysite/documents/download/28/6031
https://mysite/documents/download/6031
https://mysite/documents/download/6031jshghjsdgsdgfhjadskhjfgasdhfgshd
https://mysite/documents/download/28kljfdjkfgjsfdj/6031lskjgfskldgklssdf

Therefore, I had a question, how to leave only the ID