News:

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

Main Menu
Support-Forum

In URL only ID

Started by Yomoto, 26.02.2019 17:15:25

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

Yomoto

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
  •  

ColinM

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

Colin M
  •  

Yomoto

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
  •