Make WordPress Core

Opened 14 years ago

Closed 13 years ago

Last modified 13 years ago

#20958 closed feature request (wontfix)

Add to the Template Hierarchy the 410 error page

Reported by: byteee Owned by: byteee
Priority: normal Milestone:
Component: Template Version:
Severity: normal Keywords:
Cc: Focuses:

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)

#1 @c3mdigital
13 years ago

  • Component General → Template
  • Resolution → wontfix
  • Status new → closed

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.

#2 @SergeyBiryukov
13 years ago

  • Milestone Awaiting Review
Note: See TracTickets for help on using tickets.