5 ms·
Depending on how much your write, URL collisions can naturally become a real problem. If you use a SSG then all your post HTML documents will be in the same dir
by mikae1 4y ago
Depending on how much your write, URL collisions can naturally become a real problem. If you use a SSG then all your post HTML documents will be in the same directory, forever. This isn't a problem if you don't spit out posts, but if you post a lot your directory can become rather unwieldy. I'd say, at least throw a year in there: /2022/su/.
- Brajeshwar 4y agoThis is indeed a big problem I faced when I moved from WordPress to Jekyll. I decided to segregate them by year (very unique); so my articles/posts are /yyyy/foo-bar/. I did decided on the URL loooong back in WordPress as that was the most sane thing I could do while still writing a lot but have some segregation. E.g. There are about 93 files/posts in the "2006" folder for my website.
- mijamo 4y agoSSG can usually be configured. You could have whatever folder structure you want and still have all the URLs straight under the root.
- deleted 4y ago[deleted]
- mro_name 4y agoYears are a bliss once you want to change your styling and keep an archive as is. Untouched. No work, no risk, nothing breaks. Cool URIs don't change. Not even their styling.
- einsty 4y ago“Cool URI’s Don’t Change” … https://www.w3.org/Provider/Style/URI https://www.w3.org/Provider/Style/URI
- SenHeng 4y agoI manage this problem by appending a 5 digit number in front each file, ie. 00001-Hello-world.md that I strip from the URL. It solves multiple problems for me. 1. All articles are sorted automatically. 2. I can visually see how many drafts I have (drafts are 00000-, published at 00nnn-)
- robobro 4y agoPrepending