smart Attachment Page Remove

Beschreibung

The smart Attachment Page Remove Plugin allows you to remove Attachment Pages automatically generated by WordPress

Verwendung

WordPress automatically generates a page for every file you upload to your Media Library. Even if you do not want to use these Pages and never link media files to their Attachment Page these pages exist and can be accessed by their automated generated URL. The smart Attachment Page Remove Plugin blocks access to Attachment Pages and causes an 404 error („page not found“).

This ensures that Attachment Pages do not appear in the results of Search Engines unwanted.

Additionally this plugin prevents from comment spam sent via this Attachment Pages because they are no longer accessible.

Settings

Optionally, a status code 410 can be sent instead of status code 404.

HTTP status code 404 indicates that the requested URL could not be found. This is the default code always sent by WordPress when a URL can not be found. HTTP status 404 does not provide any further information why a URL was not found.

HTTP status code 410 on the other hand indicates that the requested URL is no longer available and will not be available again. If your Attachment Pages already have been indexed by search engines, HTTP status 410 informs them to immediately delete those pages from their index. This should speed up removal.

Regardless, in case of Attachment Pages it makes more sense to use HTTP status 410 anyway and it is recommendet to activate this option in any case.

This option is not activated by default only because it is not the usual behavior of WordPress. There are no negative effects in using HTTP 410.

Support

Support Forum

Do you like this plugin?

I spend a lot of my precious spare time to develop and maintain my free WordPress plugins. You don’t need to make a donation. No money, no beer, no coffee. If you like this plugin then please do me a favor and give it a good rating. Thanks.

Plugin Privacy Information

  • This plugin does not set cookies
  • This plugin does not collect or store any data
  • This plugin does not send any data to external servers

Peters‘ Plugins Privacy Information Page

ClassicPress

This plugin is compatible with ClassicPress.

Mehr Plugins von Peter

Stay up to date

Follow me on Facebook

Screenshots

  • Plugin Settings Page

FAQ

Was ist mit SEO?

Requesting a removed Attachment Page results in a 404 error which lets Search Engines know that the page does not exist. If your Attachment Pages already have been indexed by search engines this will cause them to be removed from the search index.

It is generally true that the occurrence of 404 errors has a negative impact on your ranking in search engines. But only if your website contains links to URLs that result in an error 404. As long as you do not link to the Attachment Pages or you remove all those links before activating this plugin there is no negative impact on your SEO.

The same applies to the usage of HTTP status code 410.

Rezensionen

Simple and effective

I've been looking for hours how to do this through code, but nothing worked. I don't like redirects to the homepage since that makes it look like the site isn't funcioning properly. This is exactly what I want, however, so thanks!
Lies alle 6 Rezensionen

Mitwirkende & Entwickler

„smart Attachment Page Remove“ ist Open-Source-Software. Folgende Menschen haben an diesem Plugin mitgewirkt:

Mitwirkende

„smart Attachment Page Remove“ wurde in 1 Sprache übersetzt. Danke an die Übersetzerinnen und Übersetzer für ihre Mitwirkung.

Übersetze „smart Attachment Page Remove“ in deine Sprache.

Interessiert an der Entwicklung?

Durchstöbere den Code, sieh dir das SVN Repository an oder abonniere das Entwicklungsprotokoll per RSS.

Änderungsprotokoll

3 (2019-01-04)

  • option to send HTTP status 410 instead of HTTP status 404
  • code improvement
  • UI improvements

2 (2018-04-17)

  • minor code- & UI-improvements

1.2 (2017-11-16)

  • faulty display in WP 4.9 fixed

1.1 (2017-06-26)

  • redesigned admin interface
  • code improvement

1.0 (2017-01-12)

  • Initial Release