跳到内容

Gone Control

v0.5

iTRON · 2026年4月3日 上架

A WordPress plugin that ensures HTTP 410 (Gone) status code are returned for deleted posts, pages, and CPT, improving SEO and user experience.

正在使用
10 以下
评分
暂无
累计下载
394
最近更新
2026年4月3日
需要 WordPress 5.6+已测试到 6.9.12PHP 7.4+

贡献者

When content is deleted in WordPress, the default behavior is to return a 404 (Not Found) status code. However, according to HTTP specifications, a 410 (Gone) status code is more appropriate for resources that have been permanently deleted and will not return.

This plugin automatically returns a 410 status code for:
– Deleted posts
– Deleted pages
– Deleted custom post types
– Deleted users
– Deleted media attachments

Once activated, the plugin works automatically. When a visitor tries to access a URL that previously contained content but has been deleted or moved to trash, they will receive:

  • A 410 HTTP status code in the response headers
  • The standard WordPress 404 page template (customizable via your theme)

Related Resources

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums