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
- Scan links with a redirect to a new target
- The links appear in the report list with status
301 - Moved Permanently - 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
Issue fork linkchecker-3471860
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:
- 3471860-add-action-to
changes, plain diff MR !110
Comments
Comment #2
lrwebks commentedComment #5
lrwebks commentedComment #6
anybodyI 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.
Comment #7
anybodyComment #8
anybodyBased 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)