redirects not working with trailing slash inputs

I have an astro site hosted on cloudflare pages. The url scheme changed recently to move blog posts from the root to their own blog subdirectory (http://example.com/post -> http://example.com/blog/post). As such, I'm trying to set up redirects from the old post urls to the new ones, but unfortunately, the redirects are not working for inputs which have a trailing slash. For example, example.com/post will redirect to example.com/blog/post, but example.com/post/ will not. I've tried both astro's configureable redirects as well as the _redirects page for pages, but no luck. Does anyone have thoughts on how I might solve this?
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server