by pgfrd · 10y ago · 0 comments
What is the reasoning behind only an itemid in the URL for HN?
Like someone previously mentioned, easier to code, less thought required around site architecture and optimization
Is there an SEO impact? Yes, from a basic standpoint, descriptive URLs are easier to crawl, index, and rank accordingly. They help readers find info better when searching for questions + answers
From a more highlevel standpoint, descriptive URLs and an optimized site structure helps in many ways including SEO, analytics, accessibility, and more. Reddit does it well
The reason is because it's the minimum information required to do the job. HN was built to function by PG who built it old school as a demonstration of his custom programming language, it's clearly not been optimized for SEO and putting a slug in the URL adds nothing functionally and thus the engineer had no reason to add that feature. It also uses tables for layout, has embedded style information, and saves all state to files on disk using no database. It's hardly a "best practices" type application.
Why are they easier to crawl and index? Most people do shoot themselves in the foot with some duplicate content if they try to implement those speaking URLs.
And "rank accordingly"? Like keyword tags help to rank better?