Gone Control

描述

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

评价

此插件暂无评价。

贡献者及开发者

「Gone Control」是开源软件。 以下人员对此插件做出了贡献。

贡献者

帮助将「Gone Control」翻译成简体中文。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

0.5.0

  • Initial public release in the WordPress plugin repository.