This site uses cookies. By continuing to browse the site, you agree to our use of cookies. Find out more about cookies.
Skip to main content
Metadecidim's official logo
  • English Triar la llengua Elegir el idioma Choose language
    • Català
    • Castellano
Sign Up Sign In
  • Home
  • Processes
  • Assemblies
  • Initiatives
  • Consultations
  • Conferences
  • Help

Propose new functionalities for Decidim software

#DecidimRoadmap Designing Decidim together

Phase 1 of 1
Open 2019-01-01 - 2030-12-31
Process phases Submit a proposal
  • The process
  • Debates
  • Propose new features
  • News
chevron-left Back to list

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/

  • Filter results for category: Administration Administration

List of Endorsements

Avatar: Valentin Chaput Valentin Chaput
Avatar: Pau Parals Pau Parals verified-badge
Avatar: Alain Buchotte Alain Buchotte
Endorsements count3
Url aliases for participatory spaces Comments 9

Reference: MDC-PROP-2019-05-14586
Version number 1 (of 1) see other versions
Check fingerprint

Fingerprint

The piece of text below is a shortened, hashed representation of this content. It's useful to ensure the content hasn't been tampered with, as a single modification would result in a totally different value.

Value: 0cd8bee68871f558d3f069de1cef8445af1868b9a1f90e25f5511c3d63c234d2

Source: {"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"}}

This fingerprint is calculated using a SHA256 hashing algorithm. In order to replicate it yourself, you can use an MD5 calculator online and copy-paste the source data.

Share:

link-intact Share link

Share link:

Please paste this code in your page:

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

Report inappropriate content

Is this content inappropriate?

Reason

9 comments

Order by:
  • Older
    • Best rated
    • Recent
    • Older
    • Most discussed
Conversation with Virgile Deville
Avatar: Virgile Deville Virgile Deville
22/05/2019 14:43
  • Get link Get link

@product can we get feedback on this please ?

Avatar: Virgile Deville Virgile Deville
23/05/2019 11:02
  • Get link Get link

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

Avatar: Carol Romero Carol Romero verified-badge
23/05/2019 12:42
  • Get link Get link

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
  • Get link Get link

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
  • Get link Get link

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

Avatar: Virgile Deville Virgile Deville
01/08/2019 11:12
  • Get link Get link

@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
  • Get link Get link

Pinging @paarals in here !

Avatar: Alain Buchotte Alain Buchotte
24/05/2019 12:27
  • Get link Get link

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
  • Get link Get link

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

Add your comment

Sign in with your account or sign up to add your comment.

Loading comments ...

  • Terms and conditions of use
  • About the community
  • Download Open Data files
  • Metadecidim at Twitter Twitter
  • Metadecidim at Instagram Instagram
  • Metadecidim at YouTube YouTube
  • Metadecidim at GitHub GitHub
Creative Commons License Website made with free software.
Decidim Logo

Confirm

OK Cancel

Please sign in

decidim Sign in with Decidim
Or

Sign up

Forgot your password?