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 details)

Uploaded Source

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

Hashes for collective.redirect301-1.0.tar.gz
Algorithm Hash digest
SHA256 eea68db4a249ce828ad2e8e760194e8b34ec624f7b484cec459300f3394be217
MD5 09159fbf875a4c856ea922674d14330e
BLAKE2b-256 01cbce814f9456d7afb7d2addda9d98c185095fbd159081567a9511b407a15c7

See more details on using hashes here.

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