2

I'm just about to roll out a new Pathauto Alias to include a new taxonomy term, which will modify about 1000 nodes. Is there a way to preserve the current path aliases I have now, and then bulk update all my nodes to the new pattern?

I assume I'll need to use Path Redirect in conjunction with Global Redirect somehow to keep the old paths pointing to the new paths?

Thanks!

1 Answer 1

2

To preserve AND redirect existing aliases when you implement a change like that:

  • install the Path Redirect module
  • open the 'Automated Alias Settings' in URL Aliases (admin/build/path/pathauto)
  • open the 'General' fieldset
  • change the radio button for 'Update action' to 'Create a new alias. Redirect from old alias' (see screenshot below).

http://img705.imageshack.us/img705/2738/redirectaliasleaveintac.png

4
  • No problem. That option is seriously hard to find!
    – g_thom
    Jun 14, 2011 at 5:02
  • What's the easiest way to bulk generate the new paths? (or for that matter, any way, without deleting existing :)
    – DanH
    Jun 14, 2011 at 6:32
  • I think Views Bulk Operations is the easiest way. It allows you to update as many URLs as your server memory permits.
    – g_thom
    Jun 14, 2011 at 6:58
  • Oh awesome, I'd always ignored VBO, never realised this is what it was for :D Thanks again!
    – DanH
    Jun 14, 2011 at 7:05

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

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