Problem/Motivation

First of all thank you SO MUCH for this wonderful module! I love it! :)

The module has a functionality to update 301 redirects automatically to the new target after X tries (via cron).

Looking at the list of broken links with status 301 it would be great to have a (manual) action - besides "edit" - to update this like to the new location immediately.

Steps to reproduce

  1. Scan links with a redirect to a new target
  2. The links appear in the report list with status 301 - Moved Permanently
  3. The only action available is "Edit"

Proposed resolution

Instead of having to update these links manually or wait for further scans, they should have an action to trigger the already existing link update to the new redirect target.

This way they could be fixed individually and very quickly!

Remaining tasks

User interface changes

API changes

Data model changes

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

anybody created an issue. See original summary.

lrwebks’s picture

Assigned: Unassigned » lrwebks
Status: Active » Needs work

lrwebks changed the visibility of the branch 3471860-add-action-to to hidden.

lrwebks’s picture

Assigned: lrwebks » Unassigned
Status: Needs work » Active
anybody’s picture

I think this would still be helpful.
Additionally, we could add "Re-run check" action on the entities and - allow these as Bulk actions (on the list / view).

Would be great to get some maintainer feedback, if you like the ideas.

anybody’s picture

anybody’s picture

Based on #3426268: Allow to check link status on demand it should be possible to add that action on link checker entities with a status of 301, as the code is quite similar?

But first it should be checked if maybe #3426268: Allow to check link status on demand already leads to updating if triggered X times? (for clarification and deciding on further steps)