Skip to content
This repository has been archived by the owner on Sep 16, 2022. It is now read-only.
/ redirect Public archive

Simple redirect plugin for Flextype. It allows you to create a simple redirects for your pages.

License

Notifications You must be signed in to change notification settings

flextype-plugins/redirect

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Redirect Plugin for Flextype

Version License Total downloads Flextype Discord

Redirect plugin will help you to know how many readers of every page in your website.

Dependencies

The following dependencies need to be installed for Redirect Plugin.

Item Version Download
flextype 0.9.16 download
twig >=2.0.0 download

Installation

  1. Download & Install all required dependencies.
  2. Create new folder /project/plugins/redirect
  3. Download Redirect Plugin and unzip plugin content to the folder /project/plugins/redirect

Settings

Key Value Description
enabled true true or false to disable the plugin
priority 100 Redirect plugin priority
redirect [] Redirect specific data

Usage

You may define unlimited redirects in project/config/plugins/redirect/settings.yaml

Here is basic example of simple redirects:

redirect:
  -
    from: '/home'
    to: './'
    status: 301
  -
    from: '/'
    to: './en'
    status: 301

LICENSE

The MIT License (MIT) Copyright (c) 2021 Sergey Romanenko

About

Simple redirect plugin for Flextype. It allows you to create a simple redirects for your pages.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages