Bulk Delete Redirects
Grayside - March 9, 2009 - 16:56
| Project: | Path Redirect |
| Version: | 6.x-1.0-beta4 |
| Component: | Code |
| Category: | feature request |
| Priority: | normal |
| Assigned: | joelstein |
| Status: | needs review |
Description
Many of my redirects need to go away, but I cannot rely on them going stale to auto-remove them.
All of my taxonomy terms are being redirected to /taxonomy/term, which gets me a singularly un-useful 404 page. Presumably I botched it up with pathauto and did not notice.
The UI seemingly provides only two levels of deleting redirects- one at a time by clicking "delete" then "confirm", or all at once by uninstalling the module. Some sort of bulk deletion interface would be very useful, either in the module or via Views Bulk Operations.
Luckily, my current redirects are not important, so I will go with uninstall/reinstall of Path Redirect.

#1
Have you figured out what caused the redirection to /taxonomy/term? Does the Problem still exists? I think I have the same problem: http://drupal.org/node/355343#comment-1350508
Subscribing Would be nice to have a form with checkboxes to select which redirect aliases to delete (like the content form: admin/content/node).
#2
According to the issue you posted at that link (http://drupal.org/node/295884) Pathauto has a bug which creates an extra alias at "taxonomy/term" for every alias to the actual terms. The Path_redirect option in Pathauto must be converting the double alias into an alias and redirect, which would be even harder to handle.
Back to regularly scheduled Redirect Bulk Management ;P
#3
I will take a look at how I could best implement a mass delete in the interface. Thank you for the suggestion!
#4
You should have a look on the node module (in node.admin.api) at the node_admin_content() function.
#5
I would love the same thing. I think I got a the redirects from testing the taxonomy menu module. Deleting these one by one is terrible, a select delete would be a great feature.
#6
Hi,
I would like to have that feature too.
In the meanwhile I delete the redirects directly into the database: table path_redirect
#7
I did the DB delete also which worked well but a UI implementation would be terrific. Would still love to knwo why this is occuring with Taxonomy_Menu so sad I cannot use it due to this.
#8
I am submitting a patch which provides the ability to delete multiple redirects at once, similar to admin/content/node and admin/user/user. It works for me. Please review it in your site so we can get this into the module.