5,232 GPL Products · Updated DailyPRO Versions Available · Instant Download
Disable Media Pages 4.0.3 – WordPress Plugin

Disable Media Pages

v4.0.3 ★★★★★5/5 (17) Updated 3 days ago
Download Disable Media Pages 4.0.3
Free download · version 4.0.3

Description

At a glance

Disable Media Pages v4.0.3 is a free WordPress plugin with 10K+ active installs, 5/5 rating from 17 reviews, updated September 18, 2026, requires WordPress 6.0+ & PHP 8.0+. Download the latest GPL version below — free, with live demo included.

Completely disable “attachment” pages created by WordPress.

By default, WordPress creates a page for each of your attachments. This is can be undesirable because of two reasons:

Search engine optimization

Attachment pages don’t have any content, except an image, so they provide little value and can negatively affect your SEO because they are so-called thin content. Even worse, attachment pages may in some cases rank higher than your actual content pages which leads to a poor user experience.

Reserved slugs

Attachment pages can accidentally reserve slugs on your site. Let’s say you upload an image named contact.jpeg, an attachment page https://example.com/contact is automatically created. If you then try to create a page named Contact, the URL for that page will be https://example.com/contact-2 which isn’t that great.

How it works

This plugin works by automatically setting all attachment slugs to an unique id, so they won’t conflict with your pages. If an attachment page is accessed, the plugin will set a 404 status code and display the “page not found” template.

You can also mangle any existing attachment slugs so they won’t cause any issues in the future.

WP CLI support

The plugin supports WP CLI.

Mangle existing attachment slugs

wp disable-media-pages mangle

Restore attachment slugs

wp disable-media-pages restore

Note for WordPress 6.4

WordPress 6.4 includes a new feature that allows you to disable attachment pages. However, this feature redirects attachment pages to the file URL instead of returning a 404 error. To completely disable attachment pages, you should use this plugin instead. The WP 6.4 feature also does not fix the issue where attachment pages reserve slugs for pages.

Also, there is not user interface to enable or disable media pages, they are automatically disabled for new sites but remain enabled for existing sites.

Because of these issues, I recommend you to use this plugin instead of the built-in feature. The plugin will be updated in the foreseeable future, at least until attachment pages are completely removed from WordPress core and older WordPress versions are no longer in use.

Thanks

Special thanks to Greg Schoppe for his research and inspiration that helped a lot with developing this plugin.

Support the plugin

Maintaining a WordPress plugin is a lot of work. If you like the plugin, please consider rating it on WordPress.org. You can also support me on GitHub sponsors. Thank you!

If you are interested, you can also check out my other WordPress plugins:

Frequently asked questions

What is Disable Media Pages?

Disable Media Pages is a free WordPress plugin available under the GPL license. The current version is 4.0.3. It is active on over 10K websites.

Is Disable Media Pages free to download?

Yes — Disable Media Pages 4.0.3 is a free GPL download with no hidden fees, no account needed, and no feature locked behind a paywall in this package. Users rate it 5 out of 5 based on 17 reviews.

How do I install Disable Media Pages 4.0.3?

Download the ZIP file from this page, then in your WordPress dashboard go to Plugins → Add New → Upload Plugin, choose the file, click Install Now, then Activate. The plugin works immediately after activation — no license key or extra setup is required for the core features.

What are the requirements for Disable Media Pages?

Disable Media Pages 4.0.3 requires WordPress 6.0 or higher and PHP 8.0 or higher. Most modern WordPress hosts already meet these versions. Running older versions may cause features to break, so update WordPress and PHP first if your site is behind.

When was Disable Media Pages last updated?

Version 4.0.3 was last updated on September 18, 2026. This page is refreshed automatically, so the download here always matches the newest version we have verified.

Is the Disable Media Pages download safe?

The file is sourced directly from the official WordPress.org repository — the same file the developer published. It is served unmodified, so what you install here is byte-identical to the official release.

Version: 4.0.3
Updated: October 1, 2026

Technical details

Version4.0.3
Last updatedSeptember 18, 2026
Active installs10,000+
Rating★★★★★ 5/5 (17 reviews)
Requires WordPress6.0 or higher
Requires PHP8.0 or higher
Authorjoppuyo
Tagsattachment, hide, image, permalink, remove

Download Disable Media Pages

Download Disable Media Pages WP Plugin

Official Page ↗

Note: if the download does not start, disable your ad blocker and try again.

Leave a Comment