kerouac-htaccess
This is a Kerouac plugin that supports .htaccess. These files are configuration files that reside in the same directory as the website, and are used to issue directives to Apache (or other compatible web server).
Install
$ npm install kerouac-htaccess
Usage
This plugin is typically used to declare redirects in the situation where your URL structure has changed, and you want to point old URLs to their new location.
var redirect = {
'/guide/intro.html': '/guide/intro/'
}
site.plug(require('kerouac-htaccess')({ redirect: redirect }));
Tests
$ npm install
$ make test
Credits
License
Copyright (c) 2012-2013 Jared Hanson <http://jaredhanson.net/>