🔥 Black Friday Sale: Get 65% OFF Any PageForge Pro Plan! Use code BF65 Claim Offer →
Compte Get it free
Disable Directory Listings icon
Peut-être abandonné Tested up to 3.2.1 #6 in Apache

Disable Directory Listings

Prevent virtual directory listing services from listing the contents of directories, and/or show a page in place of a directory’s listing.

Installations actives90+10+ niveaux
Téléchargements · 30D141▲ +60.2% vs prev. 30d
Évaluation5/51 avis
Score de santé32/100En danger
Téléchargements de tous les temps7.7KDepuis juillet 2011
Support résolu—Aucun fil de discussion récent
A besoin deWP 3.0Php tout
Téléchargements · 7j43▲ +16.2% week over week
Notre verdict

Envisager une alternative

Disable Directory Listings shows warning signs in 2026 — compare the alternatives below before installing. It runs on 90+ sites, is rated 5/5 and was last updated 15 years ago, and scores 32/100 on our health check.

  • Petite base d'utilisateurs (90+ installations actives)
  • Très peu de critiques jusqu'à présent
  • Pas de mise à jour dans 15 ans
  • Only tested up to WordPress 3.2 (latest is 7.1)

Comment s'accumule-t-il ?

Côte à côte sur les installations, les mises à jour, les évaluations et le support

Téléchargements quotidiens

4812Sep 5Oct 19Dec 3
Hier2
Moyenne quotidienne (1 ans)2
Jour de pointe17Dec 2, 2026
12 Derniers mois708

Les pics de téléchargement suivent généralement une nouvelle version - chaque site qui met à jour automatiquement compte comme un téléchargement.

Classements

Where Disable Directory Listings stands today

WordPress.org Classements de recherche

Position en direct dans la recherche de plugins, Top 100
Mot-cléPositionPlugins concurrentsCatégorie
Apache >100 1,680 Meilleurs plugins Apache →
coffee2code #60 65 Best coffee2code plugins →
directory listings >100 3,744 Best directory listings plugins →
intimité >100 10,000 Meilleurs plugins de confidentialité →
la sécurité >100 10,000 Meilleurs plugins de sécurité →

Adoption de version

Part de sites actifs par version.

  • 2.0100.0%

Répartition des notes

★★★★★ ★★★★★ 5 sur 1 avis

  • 5★100.0%
  • 4★0.00%
  • 3★0.00%
  • 2★0.00%
  • 1★0.00%

About Disable Directory Listings

À partir du Lisez-moi officiel · v2.0

Description

Prevent virtual directory listing services from listing the contents of directories, and/or show a page in place of a directory’s listing.

The Apache web server can be configured to automatically display the listings of the contents of a web site’s file directory if no index file (i.e. index.html or index.php) is present. This can expose files and information to visitors. Of course the web server could be configured to not do this (the recommended approach), but sometimes you don’t have permission (you’re on a shared host), the know-how, or you want to selectively disallow virtual directory listings. That’s where this plugin can help.

If you want to test if your site has virtual directory listings enabled, try visiting http://www.YOURSITE.com/wp-includes (obviously, change the domain to match your own). If you see a listing of PHP files then virtual directory listing is enabled for your site.

This plugin can prevent visitors from seeing the contents of certain (or all) directories on your site (assuming your web server generates virtual directory listings). It also allows you to use a WordPress page as the index for a directory

By default, the following directories are protected:

  • wp-includes/
  • wp-content/
  • wp-content/plugins/
  • wp-content/themes/

It does NOT protect any other directory by default. You can change this via the plugin’s admin settings page.

TIP: When this plugin is activated (and more specifically, ater the permalink structure is updated as per the instructions below), WordPress will generate the themed 404 – Not Found page. If you were to create a Page with the same name as one of the directories being disabled (i.e. ‘wp-includes’ or ‘wp-content’) then that page will be displayed instead of the 404 error message. If you want to display a page for the ‘plugins’ and ‘themes’ directory, you must create them as children pages of a ‘wp-content’ page.

NOTE: This plugin only works for the Apache web server.

Links: Plugin Homepage | Author Homepage

Installation

  1. Unzip disable-directory-listings.zip inside the /wp-content/plugins/ directory for your site (or install via the built-in WordPress plugin installer)
  2. Activate the plugin through the ‘Plugins’ admin menu in WordPress
  3. Go to Settings -> Directory Listings admin options page. Optionally customize the list of directories.
  4. If the plugin’s admin options page says that your .htaccess file is not writable, then you must manually update your .htaccess file with the changes it has made. Go to the Settings -> Directory Listings admin options page and follow the instructions to update your .htaccess.

Note: If your .htaccess is not writable, then you must perform step 4 when activating or deactivating the plugin, and when updating the plugin’s options. Otherwise, step 4 is not necessary.

Journal de modifications

Recommended update: fixed outstanding bugs; noted compatibility through WP 3.2; dropped support for versions of WP older than 3.0; utilize plugin framework; and more.

2.0

  • Use plugin framework v026, which among other things adds support for:
    • Reset of options to default values
    • Better sanitization of input values
    • Offload core/basic functionality to generic plugin framework
    • Additional hooks for various stages/places of plugin operation
    • Easier localization support
  • Full localization support
  • Update can_write_htaccess() to recognize (but not support) IIS7
  • Add admin notice after plugin activation to warn user that rewrite rules need to be regenerated if their .htaccess isn’t writable
  • Add __construct(), activation(), uninstall(), load_config(), register_filters(), install(), maybe_regenerate_rewrite_rules(), display_activation_notice(), options_page_description()
  • Rename deinstall() to deactivate()
  • Change handling of activation and deactivation
  • Save a static version of itself in class variable $instance
  • Deprecate use of global variable $disable_directory_listings to store instance
  • Rename class from ‘DisableDirectoryListings’ to ‘c2c_DisableDirectoryListings’
  • Remove docs from top of plugin file (all that and more are in readme.txt)
  • Note compatibility with WP 3.0+ through WP 3.2+
  • Drop compatibility with versions of WP older than 3.0
  • Explicitly declare all class functions public
  • Add PHPDoc documentation
  • Add package info to top of plugin file
  • Add ‘Text Domain’ header tag
  • Improve documentation
  • Change description
  • Add Changelog and Upgrade Notice sections to readme.txt
  • Add screenshot
  • Update copyright date (2011)
  • Add .pot file

1.0

  • Communiqué initial

Journal des modifications complet sur WordPress.org →

Captures d'écran

A screenshot of the plugin's admin options page.
A screenshot of the plugin's admin options page.

Pour les développeurs

Est-ce votre plugin ? Montrez les chiffres.

Ajoutez un badge en direct à votre site, docs ou github readme. Il se met à jour par lui-même - aucun compte n'est nécessaire.

Badge d'installations actives Badge Badge de score de santé

Best Disable Directory Listings alternatives

All Apache plugins →
Alternatives
Rang Plugin Installations actives Évaluation Mise à jour Santé
1 Réorientation Réorientation Gérez les redirections 301, suivez les erreurs 404 et améliorez votre site. Aucune connaissance d'Apache ou… de John Godley 2M+ ★★★★★★★★★★ 4.4 (705) Il y a 3 mois 83
2 Spider Blocker Spider Blocker SpiderBlocker will block most common bots that consume bandwidth and slow down your blog. by Niteo 10K+ ★★★★★★★★★★ 4 (5) Il y a 3 ans 38
3 Custom PHP Settings Custom PHP Settings This plugin makes it possible to override php settings. by cyclonecode 10K+ ★★★★★★★★★★ 4.4 (15) il y a 5 jours 83
4 PageSpeed Module PageSpeed Module PageSpeed Module plugin supports WordPress installation under Apache or Nginx with… by kaggdesign 200+ ★★★★★★★★★★ 4.5 (4) Il y a 2 semaines 75
5 Lite Cache Lite Cache The smallest cache plugin ever released (but still greatly efficient). Par Stefano Lissa 100+ ★★★★★★★★★★ 4.9 (18) il y a 12 ans 37
7 Apache Status & Info Apache Status & Info Apache server-info and server-status monitoring right in your WordPress admin. by Pierre Lannoy 90+ ★★★★★★★★★★ 5 (3) il y a 1 semaine 75
8 Project Force Field Project Force Field Save your WordPress sites and servers from certain death during brute force attacks with… par la faison 10+ ★★★★★★★★★★ 4.6 (16) il y a 13 ans 33
9 HTAuth Sync HTAuth Sync Synchronize your Wordpress users with a htusers file for authentication outside of Wordpress by John Luetke 10+ ★★★★★★★★★★ Aucun avis il y a 13 ans 23
10 AIO Cache & Performance AIO Cache & Performance A Simple, Stable, and Powerful Cache Plugin. Experience the Power, Stability, & Simplicity… by Adam 10+ ★★★★★★★★★★ 3.4 (21) Il ya 10 ans 32
11 Resource Versioning Resource Versioning Turn Query String Parameters into file revision numbers. Par Viktor Szépe 10+ ★★★★★★★★★★ 5 (1) il y a 8 ans 30

FAQ

Disable Directory Listings: quick answers

Réponses directes, extraites des données en direct WordPress.org.

Source : WordPress.org

Is Disable Directory Listings free?

Yes. Disable Directory Listings is free to download and use from the official WordPress.org plugin directory.

Is Disable Directory Listings safe to use in 2026?

Disable Directory Listings shows warning signs in 2026 — compare the alternatives below before installing. It runs on 90+ sites, is rated 5/5 and was last updated 15 years ago, and scores 32/100 on our health check.

How many websites use Disable Directory Listings?

Disable Directory Listings is active on 90+ WordPress websites and has been downloaded 7,746 times since it launched in July 2011. It was downloaded 141 times in the last 30 days.

Does Disable Directory Listings work with WordPress 7.1?

Disable Directory Listings is officially tested up to WordPress 3.2.1, while the latest release is 7.1.5. It may still work, but try it on a staging site first.

When was Disable Directory Listings last updated?

The latest version, 2.0, was released on July 29, 2011 (15 years ago).

Who makes Disable Directory Listings?

Disable Directory Listings is developed and maintained by Scott Reilly.

What are the best alternatives to Disable Directory Listings?

The most popular alternatives to Disable Directory Listings are Redirection (2M+ installs), Spider Blocker (10K+ installs) and Custom PHP Settings (10K+ installs).

Propulsé par PageForge

Un modèle et une feuille de calcul. Une vraie page pour chaque recherche.

PageForge transforme chaque ligne d'un CSV en une page WordPress avec son propre titre, URL, SEO et schéma, construit sur la mise en page que vous Déjà conçu. Gratuit sur WordPress.org.

  • CSV et XLSX, plus Google Sheets sur les professionnels et les entreprises
  • Son propre titre, URL, SEO champs et schéma pour chaque page
  • Fonctionne avec l'éditeur de blocs, Elementor, Divi et Avada
  • Gratuit sur WordPress.org, pas de carte de crédit

↑↓ bouger↵ ouvrir