smart Attachment Page Remove


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

If you like this plugin please do me favor and leave a review here on so that other people know it is helpful for you. Thanks!


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 page not found error. There are not settings, just activate the Plugin.


Support Forum


This plugin does not collect any data.

More plugins from Peter

Stay up to date

Follow me on Google+
Follow me on Facebook


What about SEO?

Requesting a removed attachment page results in a 404 file not found error which lets a Search Engine know that the page does not exist and has to be removed from the search index.


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!

Read all 2 reviews

Contributors & Developers

“smart Attachment Page Remove” is open source software. The following people have contributed to this plugin.


“smart Attachment Page Remove” has been translated into 1 locale. Thank you to the translators for their contributions.

Translate “smart Attachment Page Remove” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.


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