Skip to content

Redirect 301 - Kirby 2 plugin for internal redirects

Notifications You must be signed in to change notification settings

sobutz/redirect301

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

Kirby Redirect 301

Version 0.1

Redirect internal uris to other internal uris with status 301.

Installation

  1. Add redirect301 folder in site/plugins/.
  2. See usage how to add redirects.

Usage

It works like key value pairs, from one uri to another uri:

c::set('plugin.redirect301', [
  'my/old/uri'   => 'my/new/cool/uri/',
  'another/one/' => 'another/new'
]);
  • As you can see you can have an ending / in the uri if you want.
  • The uri does not need to be existing pages.
  • It does not work with full urls in this version, just uris.

Requirements

Kirby 2.3

Changelog

0.1

Initial release.

About

Redirect 301 - Kirby 2 plugin for internal redirects

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages