ajgl/redirector-spress-plugin

This package is abandoned and no longer maintained. No replacement package was suggested.

Seamlessly specify multiple redirections URLs for your pages and posts

Maintainers

πŸ‘ ajgarlag

Package info

github.com/ajgarlag/AjglRedirectorSpressPlugin

Type:spress-plugin

pkg:composer/ajgl/redirector-spress-plugin

Statistics

Installs: 65

Dependents: 0

Suggesters: 0

Stars: 1

Open Issues: 0

0.1.0 2016-03-31 17:10 UTC

Requires

Requires (Dev)

None

Suggests

None

Provides

None

Conflicts

None

Replaces

None

MIT 804db09e08b4ddd11f4e1f83296d7249f9e9cd85

pluginredirectredirectorspress

This package is auto-updated.

Last update: 2025-12-05 12:57:47 UTC


README

The AjglRedirectorSpressPlugin component allows you to seamlessly specify multiple redirections URLs for your pages and posts with Spress

πŸ‘ Latest Stable Version
πŸ‘ Latest Unstable Version
πŸ‘ Total Downloads
πŸ‘ Montly Downloads
πŸ‘ Daily Downloads
πŸ‘ License

Installation

To install the latest stable version of this component, open a console and execute the following command:

$ composer require ajgl/redirector-spress-plugin

Usage

Add a redirect_from attribute to an item with the old URL path that you want to redirect to the current item URL.

---
layout: "post"
title: "Welcome to Spress"
redirect_from: /old/url.html
---

Clean URLs

If the redirect_from value ends with a slash /, it will generate a directory with an index.html file inside.

---
layout: "post"
title: "Welcome to Spress"
redirect_from: /old/url/
---

This will generate rederize the redirect page in /old/url/index.html.

Multiple redirections

You can add multiple redirect_from values if you want to generate multiple redirections..

---
layout: "post"
title: "Welcome to Spress"
redirect_from:
 - /old/url/
 - /other/old/url/
---

License

This component is under the MIT license. See the complete license in the LICENSE file.

Reporting an issue or a feature request

Issues and feature requests are tracked in the Github issue tracker.

Author Information

Developed with β™₯ by Antonio J. GarcΓ­a Lagar.

If you find this component useful, please add a β˜… in the GitHub repository page and/or the Packagist package page.