Redirect merged term(s) to the target term's path to prevent 404 not found errors

Created on 19 August 2020, over 4 years ago
Updated 13 June 2023, over 1 year ago

Problem/Motivation

While working for the client we came across the same functionality we had to redirect the deleted links to the new link.

Steps to reproduce

  • Enable Module
  • Go to taxonomy list page
  • Go merge the term into another
  • go to old taxonomy url.

Proposed resolution

Before deleting the term we add the redirect rules for the taxonomy aliases which are being merged.

Data model changes

This will add dependency on redirect module.

Feature request
Status

Needs work

Version

2.0

Component

Code

Created by

🇮🇳India kaustubhb Mumbai

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • 🇯🇴Jordan odai jbr

    Patch #12 is causing an error if the redirect already there: "Integrity constraint violation: 1062 Duplicate entry"
    this reroll will check for redirect before creating new one.

Production build 0.71.5 2024