I have some content to be permanently deleted from my website. This is a permanent deletion and I am planning to give 410 status code.
I can very well return the status code in PHP page as
header( "HTTP/1.1 410 Gone" ); exit
or using rewrite rule in .htacccess as
RewriteRule ^deleted/ - [L,R=410]
I am clear till this point. However, I would like to redirect users to another page to explain why some pages are no more available.
So, is a redirect to another page with 410 code fine? I am specifically asking this, because I feel it is confusing to redirect to such a page (where search engine may take it as a redirect), but then giving 410 code at the same time.
What is the right approach for this. please help.