9thwonder/redirector

Automatically creates Retour static redirects using an entry dump.

Maintainers

Details

github.com/liem9w/redirector

Source

Installs: 1

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 0

Forks: 1

Type:craft-plugin

2.0.0 2022-08-30 07:11 UTC

This package is auto-updated.

Last update: 2024-04-29 04:47:55 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