Drupal Redirects Fixer - removes redirect chains and replaces links that point to redirects with their destination URLs, provided the destination URL returns a code 200

This project is not covered by Drupal’s security advisory policy.

There is an open security issue: routes for processing links are vulnerable to CSRF

This module addresses a common issue many publisher websites face: it removes redirect chains and replaces links that point to redirects with their destination URLs, provided the destination URL returns a code 200.

Features

  • Replace links that point to redirects with their destination URLs.
  • Replace regular links with their Linkit equivalent.
  • Do not update the "changed" date on nodes.
  • Convert absolute internal links to appropriate relative links.
  • Remove redirect chains.

Limitations

  • Currently works with Nodes and Custom Blocks only.
  • Handles only the Body field (Help with making fields configurable is welcome).

Post-Installation

Once the module is installed, the Site Domain must be defined. This URL will be used to scan the project. NOTE: Regardless of where you run this module, it will always query the domain defined in the "Site domain" field in Settings to determine the destination URL.

Additional Requirements

Linkit, Views, Node, and Custom Block modules are required.

Similar Projects

We were unable to find any similar modules, which is why we built our own from scratch.

Supporting this Module

Support this module if it is valuable for you or your organization https://buymeacoffee.com/itech4web

Supporting organizations: 
Sponsor Development

Project information

Releases