Use dated or stable identifiers, avoid deep nesting, never change without a 301, and never include the domain when the content may move.
Permalinks that survive
Stable structure
/<year>/<slug>/or/posts/<slug>/. Not/<category>/<subcategory>/<slug>/, which breaks when you reorganize the taxonomy.Never include the full domain in the content
https://example.com/posts/42/breaks when the site moves toexample.org. Use relative permalinks in posts; the domain is set by the rendering tool.301 on every change
When you must change a permalink, redirect the old one. Google transfers ranking over 301s, but only over 301s.
Never delete old permalinks
Even a 410 Gone is worse than a 301: Google deindexes the URL and any backlink to it loses its target.