Is there any way to change the post slug by adding the tag? #1413
Replies: 2 comments 2 replies
-
URLs are built by publii in the render process as near as I can tell. There does not seem to be a way to do that. Perhaps the Devs could add more to this answer. Sorry |
Beta Was this translation helpful? Give feedback.
-
Hi @artxewebponferrada ! There are quite a few threads in the old form on this topic that I have been cataloging over the years (with some replies from the devs), so I will just share them below for you to consult: https://forum.getpublii.com/topic/folder-structure/ https://forum.getpublii.com/topic/is-there-a-way-to-create-posts-automatically-inside-subfolders/ https://forum.getpublii.com/topic/custom-url-path-for-posts/ Generally speaking, I understand and agree with the reasoning for keeping URLs simple, and not making the main tag part of the URL. If you ever change the name of the tag down the line, you won't be faced with a ton of broken URLs to manage. Breadcrumbs for content groupingIn terms of content grouping, I would suggest using breadcrumbs on your page. Here are some posts and forum topics on how to do so: https://cv.domagic.site/posts/breadcrumbs-for-publii/ https://forum.getpublii.com/topic/breadcrumb-and-multilanguage/ MultilanguageA multilingual plugin is on the horizon, according to Bob on the Publii dev team. The Publii homepage makes use of it, and it appears to use folders/subdirectories. |
Beta Was this translation helpful? Give feedback.
-
I would like to know if there is any way (even modifying the theme files) to use a tag to cluster some pages.
So that if I have a tag called blog and I include a post it would come out:
domain.com/blog/postname/
Beta Was this translation helpful? Give feedback.
All reactions