Disable Media Pages
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: Disable Customizer Disable Drop Cap ACF Image Aspect Ratio Crop
Top keywords
- attachment15×3.49%
- pages13×3.02%
- attachment pages9×2.09%
- wordpress9×2.09%
- slugs7×1.63%
- disable6×1.40%
- page6×1.40%
- wp5×1.16%
- attachment slugs4×0.93%
- automatically3×0.70%
- because3×0.70%
- completely3×0.70%
FileBird – WordPress Media Library Folders & File Manager
The #1 WordPress plugin to organize your media library with folders. ✨NEW: Organize WordPress pages and posts too, with the same drag-and-drop folders you already use for media. TEST DRIVE | GO PRO (Lifetime License) 💎 FileBird transforms your WordPress media library with intuitive folder organization, smooth drag & drop, and smart sorting. Locate images faster, easily insert them into Gutenberg blocks, quickly identify and remove unused files. The free version allows you to create unlimited main folders and subfolders. 📌 FileBird Cloud Extension | Compare FileBird Free vs Pro ⚡️ FEATURES FileBird allows you to create virtual folders to categorize your WordPress media file uploads. So when you move files and folders around, it won’t break the permalinks to your images in the page/post content. With FileBird, you can save time on WP media management, search for any files & folders, sort them out, add product image gallery, download/export media folders, etc. That’s a great way to boost your admin workflow and productivity. Folder Tree Themes (PRO) Instead of the traditional gray shade of folder icon, now you can transform your “Folderella” into Dropbox theme or Windows 11 styling. Download Media Folder (PRO) Export an entire media folder, including its subfolders and files, in a single ZIP file. Keep the same folder structure. Backup categorized media files. Smart Startup Folder Choose a specific folder or previously opened folder upon startup. Quickly get back to work. Save more time. File Location Locate any file in its details modal and easily change its containing folder. Friendly User Interface Drag and drop to upload or bulk move files into folders. Drag and drop to arrange folders and subfolders. Smart Context Menu Right-click on any FileBird folder to quickly create a subfolder, rename, set color, cut, paste, or delete it just the way you do on your computer. Full Control In One Toolbar FileBird’s collapsible sidebar provides you with ultimate control over all WordPress media library folders. Painless Migration Import and seamlessly synchronize media category/folder structure from Enhanced Media Library, WP Media Folder by JoomUnited, WordPress Media Library Folders by Max Foundry, Real Media Library, and HappyFiles. Export Folders Organization One-click to export the whole WP media folder structure so that you can migrate it to your live sites or simply keep a backup. User Based Folder View Enabling this mode allows admins and other users access to create their own categories/directories. A user can freely manage his/her folders without affecting others’ directory structure. Powerful Search Feature You can sort and search for files and folder names not only in the Media library but also while browsing images through the page/post editor. Various Sort Options (PRO) Go advanced with 2 ways to sort folders and 10 ways to sort files. This is a great time-saver for all busy WordPress admins & webmasters. Sort Files by File Size (PRO) Now you can calculate your attachment size in a single click and sort files by file size. Custom Folder Color (PRO) Right-click on a specific folder to pick a distinct color. This helps differentiate it from numerous folders. Multiple Tree View Styles (PRO) Apart from the hierarchical tree view, you have the option to hide levels from the tree view, too. This flat tree view is very useful for those with a large number of folders. Categorize Pages, Posts, and Custom Post Types (PRO) Easily enable the folder tree to organize your WordPress pages, posts, plugins, WooCommerce coupons, discounts, and other CPTs. Customizable Default File Order Set a way of sorting files alphabetically by ascending/descending the file name, title, date, modified, and author. Bulk-Delete Folders Now, you can bulk-select File Bird folders and delete them in a single click. All those files will be moved to the Uncategorized folder and remain intact. RTL Supported FileBird supports RTL languages including Hebrew, Arabic, etc. Many Languages Supported This plugin supports most popular languages such as English, Spanish, Italian, French, German, Dutch, Hebrew, etc. 🙋♂️DID YOU KNOW? That FileBird now comes with an addon to help you create a standalone WordPress document gallery using Gutenberg and FileBird folders? → Be sure to check it out: FileBird Document Library. 👍 HOW DOES FILEBIRD WORK? Are you a WordPress website administrator? Managing a WordPress site means that you’ll be adding tons of multi-media files, such as images, videos, audios, documents, etc., into your WP media library. As a result, your library has to store thousands of files and could become a total mess. WordPress default file name search function is a good thing but it will never match the ease of going directly to a folder. That’s when FileBird comes in to help with managing files in WordPress! This media file manager gives you the ability to easily organize all files by drag and drop between folders. With FileBird in hand, things will be a lot better than they were. The best thing about a folder-based structure is it makes it very easy to find the files you need and saves you so much time. You won’t see WordPress media library not loading, as FileBird smart-loads one folder at a time. 🚀 Tips to manage WP media folders like a pro with FileBird Upload multiple folders and their files directly from your computer to WordPress Create a gallery from folders using the Gutenberg block of FileBird gallery Create WordPress document gallery with shortcode Resize the left sidebar to get an overview of all folders Upload files to a specific folder by choosing the destination folder from the dropdown Easily search for the name of file/folder From the page/post composer, browse files and folders in the FileBird UI While customizing WooCommerce email with a drag-and-drop email builder, you can quickly find the images you need Keep your folders uncluttered by clearing out the old files using the Sort by file size feature Press ESC to exit bulk select mode ⛩️ PREMIUM COMPATIBILITY With FileBird Pro, you will be able to use folders to organize posts, pages, WooCommerce products, coupons, templates, and other custom post types. These premium-only features include integrations with third-party themes and plugins. THEMES Avada – WordPress best selling theme of all time Divi – Theme from ElegantThemes Enfold – The user-friendliest WordPress Theme ever made Uncode – The highly anticipated Frontend Editor Jupiter – Elementor Multi-Purpose Theme Flatsome – Best selling WooCommerce Theme Salient – Responsive Multi-Purpose Theme XStore – Responsive Multi-Purpose WooCommerce WordPress Theme KLEO – Community Multi Purpose BuddyPress Theme Bricks Builder And a lot more PLUGINS WPML – Best WP plugin to translate and display your website in any language Polylang – A plugin that allows you to create a bilingual or multilingual WordPress site Elementor Website Builder JetEngine Flatsome UX Builder Divi Builder Visual Composer Beaver Builder SiteOrigin Pro KingComposer Tatsu Builder Oxygen Thrive Architect Classic Editor – Old WordPress editor to display tree view folders Slider Revolution – Best selling WordPress responsive slider plugin EWWW Image Optimizer FooGallery Image Gallery – Responsive Photo Gallery Smush – Compress, Image Optimizer, Lazy Load, WebP Images And a lot more +++