WordPress .htaccess Yeoman Generator

WordPress .htaccess Yeoman Generator is a Yeoman Generator that will generate a  .htaccess file specifically for WordPress.

Visit GitHub Project

Install

npm install -g generator-wordpress-htaccess

Usage

yo wordpress-htaccess

If you generate the .htaccess file in a directory that is not the directory where your WordPress installed, you will need to move the .htaccess file.

mv .htaccess /path/to/wordpress
Show Comments