Project:Path redirect
Version:6.x-1.x-dev
Component:Code
Category:feature request
Priority:normal
Assigned:joelstein
Status:closed (fixed)
Issue tags:6.x-1.0 blocker

Issue Summary

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

#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

Assigned to:Anonymous» Dave Reid

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

Version:6.x-1.0-beta3» 6.x-1.0-beta4
Assigned to:Dave Reid» joelstein
Status:active» needs review

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.

AttachmentSizeStatusTest resultOperations
path_redirect.patch8.24 KBIgnored: Check issue status.NoneNone

#9

Version:6.x-1.0-beta4» 6.x-1.x-dev
Status:needs review» needs work

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

#10

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

#11

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!

AttachmentSizeStatusTest resultOperations
396198-d7-progress.png97.56 KBIgnored: Check issue status.NoneNone

#12

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

#13

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.

#14

Status:needs work» fixed

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

#15

Status:fixed» closed (fixed)

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