morsekode/redirector

Automatically creates Retour static redirects using an entry dump.

Installs: 97

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 1

Open Issues: 0

Type:craft-plugin

dev-master 2019-07-02 19:37 UTC

This package is auto-updated.

Last update: 2024-04-29 04:00:32 UTC


README

Automatically generates Retour redirects from a entry URI dump

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