Redirect /blog/:year/:month/:date/:slug not working as expected

Hi guys. My _redirect file has the following content:
/blog/:year/:month/:date/:slug /:slug

But the redirect is not correct, the URL https://brunodulcetti.netlify.app/blog/2009/06/15/imasters-cms-brasil-2009 or https://brunodulcetti.netlify.app/blog/2009/06/15/imasters-cms-brasil-2009.html redirect to wrong URL: https://brunodulcetti.netlify.app/:slug

Can I do this configuration?

Regards.

hiya @dulcetti and welcome to our community!

As far as I can tell your site does not have a redirect like one you mention - it has 200 other redirects but I don’t see that one listed, so it wouldn’t work.

Maybe you removed it in the meantime? If you still have some redirect that doesn’t work, or could link me to an older deploy’s logs page where the redirect was in place, I can check there to try to advise…

Hi @fool, thanks.

Yeah, I removed the old redirect and put all redirect posts at _redirect file because I have few posts. Well, I have the code here https://github.com/dulcetti/blog/commit/aa9ed43d8ce4277c49d21dcc007f148091ff6fbe#diff-08ff7dbbf8cd4b8cdcc5fa58f032a9c8, at line 2, and the link here https://5ec939a25104580006c3129a--brunodulcetti.netlify.app/

Regards.