Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create nice seo-friendly urls instead of /recipes/84cfaa18-faca-471f-bfa5-fbb8c199d039 #43

Open
yann-yinn opened this issue Oct 20, 2018 · 5 comments

Comments

@yann-yinn
Copy link
Contributor

No description provided.

@tanc
Copy link

tanc commented Nov 13, 2018

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.

@facine
Copy link

facine commented Nov 13, 2018

Using https://www.drupal.org/project/decoupled_router

But I do not have any example.

@yann-yinn
Copy link
Contributor Author

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.

@ludo1960
Copy link

Any updates?

@yann-yinn
Copy link
Contributor Author

yann-yinn commented Apr 29, 2019

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants