Help with redirecting

What i want is, just grap last part of uri like.
example.com/blog/a/demo.html/blog/demo.html

example.com/docs/a/man/demo.txtexample.com/docs/demo.txt

Hi @kcubeterm,

Have you looked over Redirect options | Netlify Docs?

If you are using _redirects you would have something like:

/blog/a/demo.html /blog/demo.html
1 Like