Opened 11 months ago
Add to the Template Hierarchy the 410 error page
|Reported by:||byteee||Owned by:||byteee|
In my last project where I migrate a web from asp to wordpress, I have some pages that not longer exists. Normally, we do a 301 redirection to the home page or some other place. But digging a little in google, if we get a page that not longer exists, its better to return a 410 response code instead of 301 code (talking about SEO aspects).
I did it manually following this post: http://otroblogmas.com/retornar-410-wordpress/
I think that we can include in the Template Hierarchy the 410.php file to show it when we are getting a page that not longer exists.