Disable Attachment Pages

Redirects attachment pages to the post, where they are placed, and hides backend option to link images to attachment page (if not default).

Author:greatestview (profile at wordpress.org)
WordPress version required:4.0
WordPress version tested:7.1.5
Plugin version:2.0.0
Added to WordPress repository:23-06-2017
Last updated:23-11-2026
Rating, %:100
Rated by:2
Plugin URI:https://wordpress.org/plugins/disable-attachm...
Total downloads:8 424
Active installs:300+
plugin download
Click to start download

This plugin redirects attachment pages to the post, where they are placed (via 301). If there is no parent page, it redirects back to the WordPress home URL (via 302).

Further, when editing a post, the option to link images to their attachment page is hidden via CSS (except it is selected by default).


FAQ
ChangeLog