datocms-plugin-slug-redirects

A plugin that registers all slug changes conviniently to manage redirects.


Keywords
datocms-plugin, slug, redirect
Install
npm install datocms-plugin-slug-redirects@0.1.0

Documentation

Slug Redirects

A plugin that registers all slug changes conviniently to manage redirects.

Add it to the slug field you want as a field addon. From then on, all of the changes made to that slug field will be logged and saved with a "source" and "destination" rule on the "Slug Redirects" model.