In short, I was wondering about which is best for good SEO?
https://example.com/articles/{id}/{slug}
https://example.com/articles/18/new-atlas-robot-revealed
or
https://example.com/articles/{slug}-{id}
https://example.com/articles/new-atlas-robot-revealed-18
Or, does it matter for SEO?
Is it related to Google News?
The first one is used by StackOverflow and it does a redirect when a slug did not given (or wrong) to the right, slugged version. And I'm liking it.
But while I'm surfing on the internet, I mostly see URLs like the second one.