이 플러그인은 최근 3개의 주요 워드프레스 출시와 시험 되지 않았습니다. 워드프레스의 좀 더 최근 버전으로 이용할 때 더 이상 관리되지 않고 지원되지 않고 호환성 문제가 있을 수 있습니다.

410 for WordPress

설명

This plugin will issue a HTTP 410 response to requests for articles that no longer exist on your blog. When you delete a post or page, it records the URL for that page and issues a 410 response when that URL is requested. You can also manually manage the list of obsolete URLs.

The HTTP Specification defines the 410 response header for use when a resource has been permanently removed. It informs robots visiting your site that the requested content has gone, and that they should stop trying to access it.

If you come across any bugs or have suggestions, please use the plugin support forum. I can’t fix it if I don’t know it’s broken! Please check the FAQ for common issues.

설치

  1. Upload the plugin folder to the /wp-content/plugins/ directory
  2. 워드프레스의 ‘플러그인’ 메뉴에서 플러그인을 활성화하세요.
  3. The plugin settings can be accessed via the ‘Plugins’ menu in the administration area

FAQ

Installation Instructions
  1. Upload the plugin folder to the /wp-content/plugins/ directory
  2. 워드프레스의 ‘플러그인’ 메뉴에서 플러그인을 활성화하세요.
  3. The plugin settings can be accessed via the ‘Plugins’ menu in the administration area
Can I customise the 410 response message?

The default message is a simple plain text message that reads “Sorry, the page you requested has been permanently removed.” This is because many people want to minimise the bandwidth that is used by error responses.

If you want to customise the message, just place a template file called 410.php in your theme folder, and the plugin will automatically use that instead. Take a look at your theme’s 404.php file to see how the template needs to be structured. You can also hook into the wp_410_response action to trigger any specific events for queries resulting in a 410 response.

Will this plugin work if a caching/performance plugin is active ?

The plugin has been tested with the following caching plugins, and should work even if they are active:

  • W3 Total Cache
  • WP Super Cache

I have not tested it with other caching plugins, and there is a high chance that it will not work with many of them. Most of them will cache the response as if it is a 404 (page not found) response, and issue a 404 response header instead of a 410 response header.

후기

2020년 July 28일
I use the plugin for Micropub protocol, to tell another site I have deleted my contribution.
2020년 May 5일
It is 2020 and it still works. In the plugin settings, I use a wild card to return a 410 rather than a 404 from posts. https://mydomain.com/*/ The plugin return a 410 in the header. BRAVO.
2018년 October 16일
I removed this plugin based on help text from Google Webmaster Tools: If you have permanently deleted content without intending to replace it with newer, related content, let the old URL return a 404 or 410. Currently Google treats 410s (Gone) the same as 404s (Not found). Returning a code other than 404 or 410 for a non-existent page (or redirecting users to another page, such as the homepage, instead of returning a 404) can be problematic.
2017년 May 11일
Install, activate and it works! simple and effective solution! ... BTW: I'm using Comet Cache PRO and have no problems
모든 21 평가 읽기

기여자 & 개발자

“410 for WordPress”(은)는 오픈 소스 소프트웨어입니다. 다음의 사람들이 이 플러그인에 기여하였습니다.

기여자

자국어로 “410 for WordPress”(을)를 번역하십시오.

개발에 관심이 있으십니까?

코드 탐색하기는, SVN 저장소를 확인하시거나, 개발 기록RSS로 구독하십시오.

변경이력

0.8.6

  • Don’t rely on WordPress to correctly report whether the site is using SSL.

0.8.5

  • Fix admin form CSRF checking.

0.8.4

  • Add CSRF validation to settings page.

0.8.3

  • Fix magic quotes handling on settings page.

0.8.2

  • Overhaul settings page UI.
  • Add option to specify how many 404 errors to keep.

0.8.1

  • Add select all helpers to 410/404 lists.

0.8

  • Don’t automatically add links to the list when posts are deleted (most deletions are drafts).

0.7.2

  • Add support for popular caching plugins (W3 Total Cache and WP Super Cache).

0.7.1

  • Database tweaks (change ID to unsigned MEDIUMINT)

0.7

  • Added logging of 404 errors so they can be easily added to the list of obsolete URLs.

0.6.1

  • Bugfix: don’t accept URLs that don’t resolve to WordPress
  • Warn about invalid URLs when permalink settings change

0.6

  • Moved storage of old URLs from the Options API to the database, to avoid issues with long lists.

0.5

  • Added the option to use your own template to display the 410 response. Just add a file called 410.php to your theme folder.

0.4

  • Bugfix: With batch deletes, only the first item being deleted was noted by the plugin

0.3

  • Bugfix: URLs containing non-ascii characters were not always recognised
  • Bugfix: URLs were displayed in encoded form on the settings page
  • Added a wp_410_response action to allow users to customise the response message when a deleted article is requested

0.2

  • Added wildcard support to URLs
  • Bugfix: don’t check URLs of deleted revisions and new draft posts