Take the 2-minute tour ×
Drupal Answers is a question and answer site for Drupal developers and administrators. It's 100% free, no registration required.

I have a lot of programmatically generated nodes with the option "Generate automatic URL alias" unchecked, so i can't use the Bulk Update of the pathauto module.

How can i to bulk generate the pathauto alias for these nodes?

Edit: i use Drupal 7

share|improve this question

3 Answers 3

up vote 5 down vote accepted

Have you tried using Views Bulk Operation. All you will need to do is create a view that will list all the nodes that will meet your criteria and then assign an action 'Generate Url alias' (I haven't tried it though.)

share|improve this answer

You need to delete the aliases for those previously created nodes before assigning them new aliases. This post explains how to do that.

share|improve this answer
    
I am using Drupal 7, not 5 or 6. Anyway in Drupal 7 the content of the link can be done from admin panel selecting a proper configuration. I am trying to bulk assign an alias to nodes that have the option "Generate automatic URL alias" unchecked –  user1014351 Sep 7 '12 at 9:56

I can verify this works with Views Bulk Operations (VBO).

Just tried what Gokul N K mentioned because I ran into the same problem and I can verify it still works with actual module versions.

I had existing taxonomy terms with unchecked “Generate automatic URL alias” and I wanted to update them in bulk.

My setup below: Drupal 7 (7.34) with Views (7.x-3.8), Pathauto (7.x-1.2) & VBO (7.x-3.2). I assume the modules present / installed configured.

  1. deleted all taxonomy term aliases /admin/config/search/path/delete_bulk
  2. created a new view under /admin/structure/views and selected (Show) Taxonomy terms (in my case I selected all for all vocabularies, you could choose a certain vocab only)
  3. select "fields" under "Display format", make more adjustements if necessary, then "Continue & edit"
  4. Under fields, hit "add" and search for "Bulk operations: Taxonomy term", check and apply
  5. then check "Update taxonomy term alias" and apply
  6. Save your view and head to the views location and bulk update all taxonomy term path aliases
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.