Skip to main content

An add-on for Plone

Project description

https://github.com/collective/collective.redirect301/actions/workflows/plone-package.yml/badge.svg Coveralls https://codecov.io/gh/collective/collective.redirect301/branch/master/graph/badge.svg Latest Version Egg Status https://img.shields.io/pypi/pyversions/collective.redirect301.svg?style=plastic:alt:Supported-PythonVersions License

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.

Authors

Contribute

Support

If you are having issues, please let us know.

License

The project is licensed under the GPLv2.

Contributors

Changelog

1.0 (2023-07-19)

  • Initial release. [libargutxi]

Project details


Release history Release notifications | RSS feed

This version

1.0

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

collective.redirect301-1.0.tar.gz (23.8 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page