generator-wordpress-htaccess

Yeoman generator to generate a WordPress-specific .htaccess file.

Usage no npm install needed!

<script type="module">
  import generatorWordpressHtaccess from 'https://cdn.skypack.dev/generator-wordpress-htaccess';
</script>

README

generator-wordpress-htaccess

Yoeman Generator to generate a WordPress .htaccess file.

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