Entity Usage when a URL Redirect Exists

Created on 15 February 2023, almost 2 years ago

Problem/Motivation

I would just like to know if this is known to be possible.

I have two pages lets say /cat and /dog . And a redirect exists that redirects /perro to /dog.

So lets say /cat has link to that redirect /perro (which redirect to /dog). I can't get entity usage to show me that /cat and /dog are connected by that redirect. I have only been able to get /dog to show that its connected to the /redirect.

Is this possible? I haven been trying all sorts of different combinations of checkboxes on the local tasks/source/targets but nothing has done it yet.

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

πŸ’¬ Support request
Status

Active

Version

2.0

Component

Documentation

Created by

πŸ‡ΊπŸ‡ΈUnited States NicholasS

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

Comments & Activities

  • Issue created by @NicholasS
  • πŸ‡ͺπŸ‡ΈSpain marcoscano Barcelona, Spain

    Hi there! This is not possible with the current implementation, and I would think it falls out of scope for the module features. Since redirects can be created/edited outside of the scope of the entity's CRUD operations, it could potentially become complex to ensure consistency of the data over time.
    One option that comes to mind is to use the LinkIt β†’ module to store more structured references to linked content, instead of just storing a link with the alias on the href attribute.
    If you already have a lot of content, maybe you can create a batch process in custom code to try to update the links to no longer refer to the old aliases?
    Maybe there are other workarounds, but these are the first that come to mind... I hope this helps!

Production build 0.71.5 2024