Aquest lloc web fa servir cookies pròpies i de tercers per millorar l’experiència de navegació, i oferir continguts i serveis d’interès. En continuar la navegació entenem que acceptes la nostra política de cookies. Per a més informació consulta aquí.
Vés al contingut principal
Logo oficial de Metadecidim
  • Català Triar la llengua Elegir el idioma Choose language
    • Castellano
    • English
Registra't Entra
  • Inici
  • Processos
  • Assemblees
  • Iniciatives
  • Consultes
  • Jornades
  • Ajuda

Proposa noves funcionalitats

#DecidimRoadmap Dissenyant el Decidim entre totes

Fase 1 de 1
Obert 01-01-2019 - 31-12-2030
Veure les fases Envia una proposta
  • El procés
  • Debats
  • Proposa noves funcionalitats
  • Novetats
chevron-left Torna al llistat

Url aliases for participatory spaces

Avatar: Virgile Deville Virgile Deville
12/05/2019 22:16  

Currently it's possible to choose the url slug for the participatory spaces.

It would be great to be able to enter aliases (like it's possible on wordpress or drupal) so that we are able to communicate on simpler urls and get rid of the /processes/url-slug or assemblies/url-slug.

Furthermore /processes and /assemblies are english terms we cannot translate in i18n.

Ex : meta.decidim.org/roadmap/

  • Resultats al filtrar per la categoria: Administració Administració

Llistat d'adhesions

Avatar: Valentin Chaput Valentin Chaput
Avatar: Pau Parals Pau Parals verified-badge
Avatar: Alain Buchotte Alain Buchotte
Número d'adhesions3
Url aliases for participatory spaces Comentaris 9

Referència: MDC-PROP-2019-05-14586
Versió 1 (de 1) veure altres versions
Verifica l'empremta digital

Empremta digital

El text següent és una representació abreviada i hashejada d'aquest contingut. És útil per garantir que el contingut no hagi estat alterat, ja que una única modificació provocaria un valor totalment diferent.

Valor: 0cd8bee68871f558d3f069de1cef8445af1868b9a1f90e25f5511c3d63c234d2

Origen: {"body":{"en":"Currently it's possible to choose the url slug for the participatory spaces.\r\n\r\nIt would be great to be able to enter aliases (like it's possible on wordpress or drupal) so that we are able to communicate on simpler urls and get rid of the /processes/url-slug or assemblies/url-slug. \r\n\r\nFurthermore /processes and /assemblies are english terms we cannot translate in i18n.\r\n\r\nEx : meta.decidim.org/roadmap/"},"title":{"en":"Url aliases for participatory spaces"}}

Aquesta empremta digital es calcula mitjançant un algoritme de hash SHA256. Per reproduir-lo tu mateix, pots utilitzar una Calculadora MD5 en línia i copiar-hi les dades d'origen.

Compartir:

link-intact Compartir l'enllaç

Compartir l'enllaç:

Si us plau, enganxa aquest codi a la teva pàgina:

<script src="https://meta.decidim.org/processes/roadmap/f/122/proposals/14586/embed.js?locale=ca"></script>
<noscript><iframe src="https://meta.decidim.org/processes/roadmap/f/122/proposals/14586/embed.html?locale=ca" frameborder="0" scrolling="vertical"></iframe></noscript>

Reportar contingut inapropiat

Aquest contingut no és apropiat?

Motiu

9 comentaris

Ordenar per:
  • Més antic
    • Més ben valorats
    • Recent
    • Més antic
    • Més discutit
Conversa amb Virgile Deville
Avatar: Virgile Deville Virgile Deville
22/05/2019 14:43
  • Obtenir enllaç Obtenir enllaç

@product can we get feedback on this please ?

Avatar: Virgile Deville Virgile Deville
23/05/2019 11:02
  • Obtenir enllaç Obtenir enllaç

huho seems like the @product doesn't work. Pinging @carol instead

Avatar: Carol Romero Carol Romero verified-badge
23/05/2019 12:42
  • Obtenir enllaç Obtenir enllaç

Hi Virgile,
We've been discussing it with @andres. Technically it's tricky to get rid of /processes or /assemblies. There could be a situation where someone uses the alias, for example: meta.decidim.org/admin/ for a process, and then we would already have a problem.
One solution would be to shorten the names of the spaces, and instead of /processes or /assemblies we can leave /p or /a.

Avatar: Alain Buchotte Alain Buchotte
24/05/2019 12:25
  • Obtenir enllaç Obtenir enllaç

Hello @carol,

We did draw to the same technical conclusion. Unfortunately, our client seems eager to have a quotation on this one so we have to dig a little deeper ... and I'm pretty sure that they will reject this since it might be expensive to implements ...
Anyway, the goal here is to see if something could be merged to the core.

• The short space name path (/p instead of /processes) is definitely a good idea and we will make another dedicated proposal

• We will update this proposal with more detailed specs and an estimated quotation as soon as we finish our analysis

Avatar: Carol Romero Carol Romero verified-badge
24/05/2019 12:32
  • Obtenir enllaç Obtenir enllaç

Hi @moustachu,
Ok, let us know when you have the updated proposal. Thanks!

Avatar: Virgile Deville Virgile Deville
01/08/2019 11:12
  • Obtenir enllaç Obtenir enllaç

@carol unexpectedly our client has accepted our proposal. We are going to work with Coditramuntana on this one. Most likely we'll be making an external module for this one. The approach so far :
+ Creation of external Module
+ Install Redirector Gem and modifiy to accept domain
+ Create a CRUD interface for admins to manage the redirect rules.
We will be discussing detailled specs on this issue https://github.com/OpenSourcePolitics/dev/issues/4

Avatar: Virgile Deville Virgile Deville
01/08/2019 11:19
  • Obtenir enllaç Obtenir enllaç

Pinging @paarals in here !

Avatar: Alain Buchotte Alain Buchotte
24/05/2019 12:27
  • Obtenir enllaç Obtenir enllaç

Requirements on this one should be :
• make a list of forbidden keywords for custom path ("admin", "processes", "signup" ...)
• custom path contains only one segment ( no "/" )

Avatar: Antti Hukkanen Antti Hukkanen
04/03/2021 09:52
  • Obtenir enllaç Obtenir enllaç

I think this could be solved by adding a centralized database table for all resources that can be linked to. Ideally, all resources that have a public URL would have a row in that table in which case the conflicts could be resolved simply by doing a lookup for the new URL in that table.

Alternatively, there could be a registry of "reserved" URL patterns that would cause the matches to these reserved patterns to cause a validation error on the proposed URLs.

As mentioned in the proposal, I would also very much like to have the possibility for unique multilingual URLs as well (for improved user experience and SEO), this has been requested many times:
Multilingual URLs for language versions

Deixa el teu comentari

Inicia la sessió amb el teu compte o registra't per afegir el teu comentari.

Carregant els comentaris ...

  • Termes i condicions d'ús
  • Sobre la comunitat
  • Descarrega els fitxers de dades obertes
  • Metadecidim a Twitter Twitter
  • Metadecidim a Instagram Instagram
  • Metadecidim a YouTube YouTube
  • Metadecidim a GitHub GitHub
Amb llicència Creative Commons Web creada amb programari lliure.
Logo Decidim

Confirmar

D'acord Cancel·lar

Si us plau, inicia sessió

decidim Inicia sessió amb Decidim
O

Registra't

Has oblidat la teva contrasenya?