WordPress.org

Make WordPress Core

Opened 6 years ago

Closed 23 months ago

#11113 closed enhancement (wontfix)

Return 410 Gone HTTP response for deleted posts/pages

Reported by: voyagerfan5761 Owned by:
Milestone: Priority: normal
Severity: normal Version: 2.9
Component: General Keywords:
Focuses: Cc:

Description

Deleted content should be treated differently from content that never existed. WordPress could be enhanced by returning a 410 Gone response to requests for posts or pages that have been deleted.

As I currently envision the solution, bits of old content (like a slug) would have to remain in the database after deletion.

Using WordPress 2.8.5; could not find any references to this in pre-existing Trac tickets in Core.

Change History (4)

comment:1 follow-up: @scribu6 years ago

  • Milestone changed from Unassigned to Future Release
  • Version changed from 2.8.5 to 2.9

I don't think it's worth storing old data in the DB just for this.

At most, 410 could be sent for posts and comments that are currently in the trash.

comment:3 in reply to: ↑ 1 @jeremyfelt23 months ago

  • Keywords close added

Replying to scribu:

I don't think it's worth storing old data in the DB just for this.

Agreed. I think this is good plugin territory.

comment:4 @helen23 months ago

  • Keywords close removed
  • Milestone Future Release deleted
  • Resolution set to wontfix
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.