problem of redirection of the old pages towards the page of the error 410

I can not delete the old content from Google search results. One of the suggestions was to redirect the old pages to the 410 error page so that Google could delete them. The original website was built in wordpress. I'm using Netlify and Hugo now. Old pages www.example.com/?product = .... where are my new pages www.example.com/products / ...... I have tried / product / * 410.html 410 and /? product / * 410.html 410 in my _redirects file but no luck. I also have https://prestoshears.netlify.com https://prestoshears.com 301 in _redirects. Help?