GetPublii / Publii

The most intuitive Static Site CMS designed for SEO-optimized and privacy-focused websites.
https://getpublii.com
GNU General Public License v3.0
6.06k stars 407 forks source link

[Feature Request]: Add a way to regenerate file names #1324

Closed warpdesign closed 5 months ago

warpdesign commented 5 months ago

Feature Description

When creating a post, it seems by default, Publii uses the title as name for the file. So for example, creating a file with the title My Best Recipes would result in the creation of my-best-recipes.html for the post.

The problem is that when I duplicate a post or change the title, it won't rename the file. So if I duplicate the previous post, but put unrelated content, for example: My Best Songs, the html file name would be my-best-recipes2.html which can be misleading.

There should be a way to update the file names once the context/title has been changed.

bobmitro commented 5 months ago

It's possible, just look at the SEO option and change the slug name.

warpdesign commented 5 months ago

That's already possible :)