Using redirects and routes after migrating to Ghost

I’ve migrated my site to Ghost and so far I love it. The problem is, there are a lot of links to my old posts circulating around the Internet. The slugs are still the same but the paths aren’t. Can I use the Redirects or Routes features for this?

previously it was

mydomain.com/something/something_else/slug

Now with Ghost it’s…

mydomain.com/slug

Can I remove everything between the domain name and the slug (still same slug as before) for every incoming link? Or at least specify that /something/something/ should be removed when redirecting the visitor.

This looks like a job for Redirects. Have you checked out our documentation?
https://ghost.org/docs/api/v3/handlebars-themes/routing/redirects/

I did but I can’t get it to work. How do I make a blanket redirect that takes away everything between domain.com/ and slug.

So that

Domain.com/something/something/this

Always becomes…

Domain.com/this