ajgl/redirector-spress-plugin
Seamlessly specify multiple redirections URLs for your pages and posts
Maintainers
Package info
github.com/ajgarlag/AjglRedirectorSpressPlugin
Type:spress-plugin
pkg:composer/ajgl/redirector-spress-plugin
Requires
- spress/spress-installer: 2.0.*
Requires (Dev)
None
Suggests
None
Provides
None
Conflicts
None
Replaces
None
MIT 804db09e08b4ddd11f4e1f83296d7249f9e9cd85
- Antonio J. GarcΓa Lagar <aj.woop@garcialagar.es>
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.
