Plone addon for redirects
Project description
Purpose
This is a Plone addon which allows to manage redirects. It allows to add new redirects which may point to internal or external URLs.
Compatibility
Supports Plone 4.3 and 5.1.
Installation
Add the package as dependency to your setup.py:
setup(...
install_requires=[
...
'ftw.redirector',
])
or to your buildout configuration:
[instance]
eggs += ftw.redirector
and rerun buildout.
After restarting your Plone, install ftw.redirector through the Plone addons control panel, quickinstaller or portal_setup.
After installing the addon, go to the Plone control panel for redirects in order to add new redirects.
Usage
After successfully installing the addon, go to the Plone control panel, where a new “Redirect Configuration” link is added:
Redirect rules can easily be managed by editing the configuration:
How it works
The redirect config is a dexterity object (mainly for ftw.publisher compatibility).
Redirects are only applied if no content is found (404).
Redirect rules are applied top-down: top roles have higherpriority. The first matching rule is applied, later rules arenot considered.
Redirects match when the request path starts with thesource path.
Each rule requires a source path and a destination.
The source path must start with a slash and should not be the site root.
The destination may be a path (starting with a slash) or an URL to an external site.
Links
Continuous integration: https://jenkins.4teamwork.ch/search?q=ftw.redirector
Copyright
This package is copyright by 4teamwork.
ftw.redirector is licensed under GNU General Public License, version 2.
Changelog
1.1.2 (2020-01-09)
Add ftw.redirector portal_type translation to plone domain. [tinagerber]
1.1.1 (2019-12-16)
Provide precompiled bundle. [tinagerber]
1.1 (2019-10-01)
Require openpyxl < 2.6 since newer ones no longer support Python 2.7 [jone]
Add support for Plone 5.1.x. [mbaechtold]
Add new profiles for Plone 5 (differentiated by title) [djowett-ftw]
1.0.1 (2016-02-26)
Match exact path element, not “startswith”. [jone]
1.0.0 (2015-11-23)
Initial implementation [jone]
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file ftw.redirector-1.1.2.tar.gz
.
File metadata
- Download URL: ftw.redirector-1.1.2.tar.gz
- Upload date:
- Size: 716.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 71ceb5f6909856f406532523054353a5c149df76e4605b0cead7cc88f56b6480 |
|
MD5 | 4cd91e795596f3e17122efdb5cb919db |
|
BLAKE2b-256 | 662d7ecfe4ba59f4f18ae3d8e29ee5dedc60055f6b98e1e1caa9421f6e68ff00 |