Yeoman Generator to generate a WordPress .htaccess file.

WordPress .htaccess Yeoman Generator follows best security and performance practices for WordPress installations. With the WordPress .htaccess Yeoman Generator, you can restrict access to the configuration file, readme files, block direct access to the include files, block access to server and backup related files, disallow directory listing, block outside domain names from using the POST method, security headers, browser caching, UTF-8 encoding, gzip, deflate, and more!

You can also easily customize the WordPress .htaccess Yeoman Generator to block access to the login page.

You can install the WordPress .htaccess Yeoman Generator using the following command:

npm install -g generator-wordpress-htaccess

Then generate a WordPress .htaccess file:

yo wordpress-htaccess