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.
Comments
Comment #1
osopolarHave 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).
Comment #2
Grayside commentedAccording 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
Comment #3
dave reidI will take a look at how I could best implement a mass delete in the interface. Thank you for the suggestion!
Comment #4
osopolarYou should have a look on the node module (in node.admin.api) at the node_admin_content() function.
Comment #5
venusrising commentedI 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.
Comment #6
j0nathan commentedHi,
I would like to have that feature too.
In the meanwhile I delete the redirects directly into the database: table path_redirect
Comment #7
venusrising commentedI 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.
Comment #8
joelstein commentedI 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.
Comment #9
dave reidPlease update the patch for latest code (6.x-1.x from CVS).
Comment #10
dave reidRemoving release blocker tag since the 'path redirect' listing code has been changed to a theme function so it can be re-used (for example in a fieldset on node forms). Not sure if this can still be done. :/
Comment #11
dave reidWorking on the Drupal 7 branch with this and guess what...it's possible! Here's my screenshot to prove it. So rest assured I'm working on this!
Comment #12
dave reidCommitted the basic bulk operations to the D7 branch. Investigating best way to do it with Drupal 6 since there is no tableselect element in Drupal 6. :/
Comment #13
dave reidUpdate on the D6 backport of this, the interface for bulk operations will only be available if you have the Elements module installed. It is a bit less code for me to maintain and makes it the same type of elements available to other sites as well. Should be finished with this by tomorrow.
Comment #14
dave reidHooray! Bulk operations is finished on the D7 and D6 branches. Thanks everyone for your help on this issue!