Home
Support Forums

_redirects file: Redirect not by last but by middle slug in url

maqro.com.au

I need some more info on the _redirects file
I understand that this works:
/cat (will go to) blog/cat

But how do I redirect by the middle slug in url like :

/cat/**** (should go to) blog/cat/******

Where **** are hundreds of random url

Any help would be appreciated.
Thanks in advance.

You use Splats:

and Placeholders:

1 Like

Splats, exactly what I needed !!

Thanks for the quick response. :beers: