Profile Picture
Illya Gerasymchuk
Entrepreneur / Engineer
User Illya Gerasymchuk -

2025-11-04 20:07

Illya's Threads and Thoughts Now Uses Slugs In URLs I've extended my static site with short (thoughts) and longer-form (threads) posts to have their URLs structured in the form of a slug. Before, each individual thought’s and thread's HTML page name (and by extension, its URL) was based on the timestamp of the post. Now, it’s based on the first line of the post. So now the URLs are nicer looking, more human readable, and much more SEO and LLM friendly. For example https://illya.sh/threads/@1761122490-0 becomes https://illya.sh/threads/bitcoin-needs-gold-gold-doesnt-need-bitcoin You will notice that the former URL still functions via a redirect to the new slug-based URL. This is because there were already thousands of pages indexed in search engines, and a smaller amount of third-party links (mostly other platforms, comments, direct shares and intra-links). This was on the future TODO list since pretty much the start of the project, but it was purposefully delayed until the amount of content justified it. Also ChatGPT kept bugging me to update to slugs for a better SEO From an architectural perspective everything is still fully static, automated and straightforward: ➖ The slug is constructed by getting the first line of the post, sanitizing it and adding dashes. It can have up to 60 characters in length ➖ The redirects are static. There is a Python list with hardcoded IDs for all previously generated threads and thoughts

Thought Image