Attachment Pages Redirect
View on WordPress.orgScores higher than 54% of indexed plugins
About
Redirect attachment pages or return a 404 error for them based on the parent post status.
What It Does
Attachment Pages Redirect automatically sends visitors who land on WordPress attachment pages to the parent post, or returns a 404 response when the parent has been unpublished or trashed. This prevents thin, image-only attachment URLs from being indexed by search engines and diluting your SEO. It runs silently in the background with no settings page required, making it a set-and-forget utility.
Who It's For
This plugin is ideal for content-heavy sites with lots of images, including photography portfolios, news publishers, e-commerce stores, and online magazines that want to avoid duplicate or low-value attachment pages appearing in search results. It suits site owners who understand the SEO implications of attachment pages but do not want to manage a complex redirect system.
Who Should Skip It
If your site rarely uses the media library, has very few images, or already relies on a full SEO suite like AIOSEO or Yoast that handles attachment page redirects natively, this plugin is redundant. Developers who prefer to handle redirects through code in functions.php or .htaccess also do not need it.
The Bottom Line
Attachment Pages Redirect is a tiny, focused plugin that solves one problem very well, and its perfect maintenance and compatibility scores make it safe to install on almost any WordPress site. The lack of support threads is a non-issue given the plugin's simplicity: there is essentially nothing to break. With an overall quality score of 81.46, it is a solid pick for anyone who wants a no-fuss attachment redirector without adding a heavyweight SEO plugin.
Related Plugins
Choose AIOSEO if you want a full SEO suite that includes attachment redirects as one feature among dozens of others.
Pick Redirection if you need a general-purpose redirect manager with logging and regex support, not just a dedicated attachment redirector.
Autoptimize is the right alternative if your priority is performance optimization rather than redirect management.
Choose 301 Redirects if you need a user-friendly redirect manager that handles many redirect types, including but not limited to attachments.
This is only relevant if you specifically want to redirect users after submitting Contact Form 7, not for attachment pages.