Visitar URL original
Add redirect module and/or document work-around · Issue #693 · feincms/feincms · GitHub
Skip to content

Add redirect module and/or document work-around #693

Description

@MRigal

Hi folks,

This is between an issue and a feature request I guess. Here is the use case:

  • You set up a page to an url, delivering a customer request.
  • The customer has an internal discussion and the content needs to be moved/renamed
  • You rename/move the content to some other location
  • The old content is still indexed by some pages or search engines, but lead to a 404

Ideally, there would be a module/plugin that would automatically add 301 redirects to the old urls. Optionally, there is some option to do so while renaming/moving.

What do you think about it @matthiask ? Is there a work-around, or some way to do so currently? I couldn't find anything like this in the docs, neither browsing the code

Activity

  1. matthiask commented on Nov 19, 2020

    @matthiask
    Member

    Hi @MRigal

    Yes, I think something should be done about this. https://github.com/etianen/django-historylinks may work well for this, do you know this package? I haven't used it yet but I think this should solve the problem in a generic way.

  2. mjl commented on Nov 19, 2020

    @mjl
    Contributor
  3. MRigal commented on Nov 19, 2020

    @MRigal
    ContributorAuthor

    Thanks to both of you!

    @mjl we are actually using the redirect_to function, but when combined with i18n and parent pages, we found ourselves several times landing in 404 deep water and we would have to manage a big amount of redirect pages. This one only really works well for smaller changes.

    The django-historylinks may be a good option, although not so well maintained. Let's see if we get to continue to work on the feature, I'll keep you updated!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions