I have an old site with a different domain, for which I placed a full domain redirect that in some cases carries a page url + query string, the new website on Netlify has similar structure, but the page numbers are different, because Eleventy pagination starts from 1 on the second page, not from 2, since the first page doesn’t have number.
Is there a way to capture the number and subtract one for the redirect so
/blog?page=2 goes to
/blog/2/ and so on?
I’m adding various blocks to my toml file but wondering if there’s a better way