9thwonder / redirector
Automatically creates Retour static redirects using an entry dump.
2.0.0
2022-08-30 07:11 UTC
Requires
- craftcms/cms: ^4.0.0
This package is auto-updated.
Last update: 2025-03-29 00:53:42 UTC
README
Automatically generates Retour redirects from a entry URI dump
Fork update to run with Ctaft 4.0
Installation
Install via Composer with the following command:
composer require morsekode/redirector
Enable the plugin via CraftCMS control panel.
Usage
Entry Dump Format
[{
"id": 123,
"uri": "my/page/path"
},
{
...
},
{
...
}]
Run Build Command
Enter the following command in your terminal:
cd MyProject
./craft redirector/build myentryuris.json