I am trying to do this. Have a structure url like so: /{id}-{slug} and /{parent.id}/{id}-{slug}
I need the slug on the url but I only for SEO, I want craft to ignore the slug and only go for the ID. So even though it is /{id}-{slug} for craft it would be /{id} and so on.
What would be the recommended approach? Advanced routing? Manually remove the -{slug} and search by {id} on the template? Any other way?
Cheers!