Masking query params in _redirects?

Hi, I am trying to make prettier URLs for my static site, by masking them with the _redirects file. Here is an example of what I am trying to do:

When someone types libralarts.netlify.app/product/foo it will serve libralarts.netlify.app/product.html?id=foo but not change the address shown. I added this line to _redirects: /product/* /product.html?id=:splat 200

I have broken the site a bit trying different options, so don’t try to confirm anything using my live site address is libralarts.netlify.app just in case, though).
I see here an example of doing the reverse of what I need, but it doesn’t work the other way around. What am I missing?

Do you have a specific deploy in which you tried the example that you have shown? We can investigate that specific deploy.

I have published the best deploy at https://libralarts.netlify.app/

Look at Libral Arts | Product as an example.

Thank you!

You need to change 200 to 200!.

OMG the magic exclaimation mark! Thank you!!

haha it happens to the best of us! glad you got a solution. :netliheart:

I forgot to ask: why is this a solution? Where is it in the documentation?

It’s to force a redirect here’s some documentation that showcases this.