kerouac-htaccess

0.1.0 • Public • Published

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

Build Status David DM

Credits

License

The MIT License

Copyright (c) 2012-2013 Jared Hanson <http://jaredhanson.net/>

Readme

Keywords

none

Package Sidebar

Install

npm i kerouac-htaccess

Weekly Downloads

0

Version

0.1.0

License

none

Last publish

Collaborators

  • jaredhanson