#20958 closed feature request (wontfix)
Add to the Template Hierarchy the 410 error page
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | |
Component: | Template | Keywords: | |
Focuses: | Cc: |
Description
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.
Change History (2)
Note: See
TracTickets for help on using
tickets.
Doesn't the template_include filter handle this situation? I'm closing as wont fix, if anyone thinks this should be discussed further please reopen.