The Complete Guide to Slugs, Permalinks, and URL Structure
Flat URL structures (/blog/my-post) tend to outperform deep hierarchies for most content sites. They're easier to remember, easier to share, and less likely to break when you restructure.
Checklist
- Lowercase, kebab-case slugs
- Choose with or without trailing slash — then stick to it
- Set a
<link rel="canonical">on every page - 301 redirect old URLs when slugs change