Create nice seo-friendly urls instead of `/recipes/84cfaa18-faca-471f-bfa5-fbb8c199d039`
yann-yinn opened this issue · 5 comments
Am curious, do you have an approach for doing this? I'm evaluating Vue + Drupal and noticed this immediately, that dynamic pages based in the id show an 'unfriendly' id instead a friendly url.
Using https://www.drupal.org/project/decoupled_router
But I do not have any example.
Hello, yes there is no "slug" field available so we have to use decoupled_router. This is more powerful but seems more complicated to implement, i'm taking a look at this this week, and will update this issue.
Any updates?
I do not maintain this project anymore because i'm not using Drupal anymore. I looked quickly at decoupled router, I guess it is the way to go because it take care of redirecting etc ... but it is too complicated for most of my needs ( https://www.lullabot.com/articles/decoupled-hard-problems-routing ) so I gave up. On simple projects, i simply use a "slug" field and use it instead of the "uuid" to build url and load the resources.