I want to return 410 errors from my whole website pages so how to do this in just a few lines of code. I have used this syntax Redirect 410 [page-path] in .htaccess file but it is just to block one page what if I want for the whole website?
In doing so I think I have type this syntax 100 times. So is there any code that can help me to return 410 errors for the whole website.