Disable Media Pages
by joppuyo 5 (17 reviews)

Disable Media Pages

Completely remove "attachment" pages for WordPress media. Improve SEO and prevent conflicts between page and image permalinks.

Disable Media Pages ranks #1,923 among WordPress.org plugins with 10,000+ active installations, is #192 of 6,314 in the Media category, a 5/5 rating from 17 reviews, and was last updated Aug 4, 2025. Data from WordPress.org, refreshed twice daily — see methodology.

Tested up to WP 6.8 (Current: 7.1)
v4.0.0 Current Version v4.0.0
Updated 1 year ago Last Update on 04 Aug, 2025
Refreshed 6 hours ago Last Refreshed on
#192 of 6,314 in Media Top 5% by installs Downloads -17.4% this week No update in over a year
View on WordPress.org
Rank
#1,923
+3 this week
Active Installs
10K+
-27.8%
KW Avg Position
97.4
0.4 better
Downloads
87.2K
+38 today
Support Resolved
0%
No change
Rating
100%
Review 5 out of 5
5 (17 reviews)

Next Milestone 20K

Total Progress 37.3%
10K+ 20K+
503
Ranks to Climb
-
Growth Needed
8,000,000
Active Installs
Pro

Unlock Exact Install Count

See the precise estimated active installs for this plugin, calculated from real-time ranking data.

  • Exact install estimates within tiers
  • Track install growth over time
  • Milestone progress predictions
Upgrade to Pro
Need 6,272 more installs to reach 20K+

Rank Changes

1,825 1,874 1,924 1,973 2,022 10-09-2026 11-09-2026 12-09-2026 13-09-2026 14-09-2026 15-09-2026 16-09-2026 17-09-2026
1,825 1,874 1,924 1,973 2,022 02-09-2026 03-09-2026 04-09-2026 05-09-2026 06-09-2026 07-09-2026 08-09-2026 09-09-2026 10-09-2026 11-09-2026 12-09-2026 13-09-2026 14-09-2026 15-09-2026 16-09-2026 17-09-2026
Current #1,923
Change
Best #

Upgrade to Pro

Unlock 30-day and 90-day rank history charts with a Pro subscription.

Upgrade Now

Active Installs Growth

Active Installs 0,000,000+
Growth +0.0%
Peak 0,000,000

Downloads Growth

10 20 30 40 50 10-09-2026 11-09-2026 12-09-2026 13-09-2026 14-09-2026 15-09-2026 16-09-2026 17-09-2026
10 20 30 40 50 60 02-09-2026 03-09-2026 04-09-2026 05-09-2026 06-09-2026 07-09-2026 08-09-2026 09-09-2026 10-09-2026 11-09-2026 12-09-2026 13-09-2026 14-09-2026 15-09-2026 16-09-2026 17-09-2026
Downloads
Growth
Peak

Upgrade to Pro

Unlock 30-day, 90-day, and yearly download history charts with a Pro subscription.

Upgrade Now

Reviews & Ratings

5.0
17 reviews
Overall 100%
5
17 (100%)
4
0 (0%)
3
0 (0%)
2
0 (0%)
1
0 (0%)

Security History

Source: WPVulnerability

No known vulnerabilities on record for Disable Media Pages. Checked 3 days ago.

TL;DR

AI summary of the plugin's readme

This plugin is for WordPress site owners and administrators who want to eliminate SEO and permalink problems caused by automatically generated attachment pages. It removes attachment pages by setting a 404 status for them and mangling attachment slugs so they no longer conflict with reserved page URLs.

  • Disables WordPress attachment pages
  • Returns 404 for attachment pages
  • Sets unique attachment slugs
  • Mangles existing attachment slugs
  • Restores attachment slugs
  • WP CLI support

Frequently Asked Questions

Common questions about Disable Media Pages

Go to the Settings ▸ Disable Media Pages ▸ Mangle existing slugs. This will show you a wizard to mangle existing attachment slugs.
First of all, not everyone uses Yoast SEO. More importantly, while Yoast SEO can fix the duplicate content issue, it does not help with issue of media files reserving slugs for pages.
Instead of displaying a 404 HTTP error, some people recommend you to redirect attachment pages to the parent page instead. I think this can be a good short-term solution if the attachment pages have been indexed by Google and you want to preserve SEO ranking for these URLs. There's a plenty of plugins on the plugin directory that let you to do that. In my opinion returning the 404 error is the correct long-term solution and if you are launching a new site, it's best to simply disable these pages so they won't ever end up in Google index.
The unique id is an UUIDv4, without dashes.
Yes, this functionality is available in version 1.1.0. The attachment slug restoration tool allows you to restore the attachment slugs back to ones based on the attachment title.
Yes, check out the GitHub repository.

More plugins by joppuyo

Sign In / Register

You need to sign in or register to use this feature.