wp-auto-index-php
v1.0.7
Published
A command line that create index.php files with *Silence is golen!* comment in all directories to prevent WordPress project directories from listing.
Downloads
4
Readme
wp-auto-index-php
A command line that create index.php files with Silence is golen! comment in all directories to prevent WordPress project directories from listing.
Installation
npm install -g wp-auto-index-php
Usages
cd /your-wp-project-directory
wp-auto-index-php
By default, it doesn't create new file if a index.php file is exists in a directory and doesn't create file in root directory, use -f
or --force
argument to force create new files, use -r
or --root
argument to also create file in root directory. For example:
wp-auto-index-php -f -r