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

osopolar’s picture

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).

Grayside’s picture

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

dave reid’s picture

Assigned: Unassigned » dave reid

I will take a look at how I could best implement a mass delete in the interface. Thank you for the suggestion!

osopolar’s picture

You should have a look on the node module (in node.admin.api) at the node_admin_content() function.

venusrising’s picture

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.

j0nathan’s picture

Hi,
I would like to have that feature too.
In the meanwhile I delete the redirects directly into the database: table path_redirect

venusrising’s picture

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.

joelstein’s picture

Version: 6.x-1.0-beta3 » 6.x-1.0-beta4
Assigned: dave reid » joelstein
Status: Active » Needs review
StatusFileSize
new8.24 KB

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.

dave reid’s picture

Version: 6.x-1.0-beta4 » 6.x-1.x-dev
Status: Needs review » Needs work
Issue tags: +6.x-1.0 blocker

Please update the patch for latest code (6.x-1.x from CVS).

dave reid’s picture

Issue tags: -6.x-1.0 blocker

Removing 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. :/

dave reid’s picture

Issue tags: +6.x-1.0 blocker
StatusFileSize
new97.56 KB

Working 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!

dave reid’s picture

Committed 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. :/

dave reid’s picture

Update 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.

dave reid’s picture

Status: Needs work » Fixed

Hooray! Bulk operations is finished on the D7 and D6 branches. Thanks everyone for your help on this issue!

Status: Fixed » Closed (fixed)
Issue tags: -6.x-1.0 blocker

Automatically closed -- issue fixed for 2 weeks with no activity.