Skip to content

[3] [SEO] - Add permalink to User / Structure

Contexte

We should create permalink based on the name of structures and users. But we ensure that they are unique when running migration & at creation.

If some ressource wants the same permalink we would increment the permalink but it would still be readable. For example :

/profile/jean-paul-testIf a homonyme exists, create

/profile/jean-paul-test-1

And maybe, hypothetically if some rigid PO wants to change this, we could do this in DB or even make the user validates its own permalink 🤷

With this we could do lookup with permalink making URL readable

Objectif

Créer des url lisibles pour les pages :

  • Actualités
  • Fiche structure
  • Fiche profil
  • Mon compte

Le slug se crée par défaut, pour les modification futures, cela sera déporté sur une issue ultérieure

Ressources

Tâches

Edited by Erwan LE LURON