Make WordPress Core

Opened 13 years ago

Closed 12 years ago

Last modified 12 years ago

#20958 closed feature request (wontfix)

Add to the Template Hierarchy the 410 error page

Reported by: byteee's profile byteee Owned by: byteee's profile byteee
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)

#1 @c3mdigital
12 years ago

  • Component changed from General to Template
  • Resolution set to wontfix
  • Status changed from new to 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
12 years ago

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