I'm having problems removing old content from Google search results. One of the suggestions was to redirect the old pages to 410 error page so google would know to drop these pages.The original website was built in WordPress. I'm using Netlify and hugo now.
- The old pages
www.example.com/?product=...
- My new pages are
www.example.com/products/...
I tried
/product/* 410.html 410
/?product/* 410.html 410
in my _redirects file but no luck. I also have https://prestoshears.netlify.com https://prestoshears.com 301
in _redirects.
How can I configure this properly?