collective.redirect301
Thanks to plone.app.redirector Plone saves all URL changes that happen in the content and redirects the user to the proper content url.
It also allows the content-editor to create custom URLs for the content.
When doing so Plone uses a HTTP 302 status code to redirect the user to the new URL.
Sometimes you want those redirects to return a HTTP 301 status code, signaling that the redirect is Permanent.
There was a philosophical discussion when the status code was decided and the decission was to return a Temporary redirect.
This addon product, when enabled, changes that behavior and allows returning a Permanent redirect in such cases.
Installation
Install collective.redirect301 by adding it to your buildout:
[buildout]
...
eggs =
collective.redirect301
and then running bin/buildout
Finally you need to go to the Plone Addons Controlpanel and install the product there.
Contribute
Issue Tracker: https://github.com/collective/collective.redirect301/issues
Source Code: https://github.com/collective/collective.redirect301
Support
If you are having issues, please let us know.
License
The project is licensed under the GPLv2.
Contributors
Lur Ibargutxi, libargutxi@codesyntax.com
Changelog
1.0 (2023-07-19)
Initial release. [libargutxi]
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 collective.redirect301-1.0.tar.gz.
File metadata
- Download URL: collective.redirect301-1.0.tar.gz
- Upload date:
- Size: 23.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/4.0.2 CPython/3.11.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
eea68db4a249ce828ad2e8e760194e8b34ec624f7b484cec459300f3394be217
|
|
| MD5 |
09159fbf875a4c856ea922674d14330e
|
|
| BLAKE2b-256 |
01cbce814f9456d7afb7d2addda9d98c185095fbd159081567a9511b407a15c7
|