I’m trying to show up the 410 status code of the pages which have criteria of /*.pdf to 410. It’s saying to google that the page is gone and it’s not coming back.
I added this code in the _redirects page
#Redirects .pdf extension with the 410 status code
/*.pdf / 410
But when I tried to test with my crawling software, it shows 404 pages. So basically 404 error.
Here is the screenshot of it.
If you want to test the URL, here is some.
Any help in this is highly appreciated Thanks.