-
Notifications
You must be signed in to change notification settings - Fork 14
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
Remove "Manual" alias for some content-types #42
Comments
I guess this would be most easily solved by using admin permissions to revoke the right of editing the URL alias. Then you could just revoke those rights for the editor role and we've achieved what you describe here. |
Hi @Norbz, I reviewed your request, and I can confirm that this can be achieved using the plugin settings. If you leave the checkbox blank the user will not have the url alias sidebar. Enabled is displaying the sidebar, see setting below. If you can confirm that this resolves your issue, I'll close this issue. Thank you for your time. |
Hi @TMSchipper This is perfect, and a great use for some use cases. Thank you for the update =) |
Feature request
Summary
Hello.
Now that we can disable URL-Alias for some content-type, I think we could benefit from having certains content-type alias not bein editable (ie, only generated).
Why is it needed?
The base idea of using URL-Alias is to be able to have your frontend router agnotic about URI, giving more power to the adminitrator to create pages. It also mean using a single endpoint to retrieve all (or almost all)your content-type
Sometimes though, for specific pages, it could be useful to enforce a specific layout on router side, while maintaining the single endpoint. This would also give the strapi administrator the information about the URL on frontend.
Ex: Having a list of tag with generated URL only (/tags/[slug]) would correspond on frontend side to a specific component (/tags/[slug].vue using nuxt 3 for instance) which would do some more complex behavior than a single page, displaying several articles related to the tag.
Suggested solution(s)
Adding another checkbox on content-type options to prevent Alias edition.
Disclosure
I used to maintain the "custom-link" plugin available on strapi marketplace but I don't have enough time right now to work on it right now. I guess I should focus on trying to improve this one instead.
The text was updated successfully, but these errors were encountered: