Wintersmith plugin that provides url redirections where headers cannot be modified


Page redirects where you can't modify headers. e.g. on GitHub pages.

NOTE If you have the ability modify headers (a .htaccess or similar) do a 301 redirect.

Install globally or locally using npm

npm install [-g] wintersmith-redirect


wintersmith plugin install redirect

and add wintersmith-redirect to your config.json

  "plugins": [

Add a redirects object to your config.json like so:

  "redirects": {
    "old/page.html": "new/page.html",
    "gone.html": ""
npm install
npm test