I have a taxonomy that looks like this

Music:
Classical
Electronica
Jazz and Blues
Metal & Punk Rock

To view all nodes with "Classical" I can go to http://www.example.com/taxonomy/term/11, however it a better URL structure would be http://www.example.com/music/classical/

How would set this up?

Comments

helsinki’s picture

Go to URL aliases in your admin.

Go to add alias.

In existing system path, type:
taxonomy/term/11

and in new path alias type:
music/classical

Don't forget to update your links in your menus, i.e. type in your new paths, though I think old ones should still work too.

Easy, in it? ;-)

mitz’s picture

Hi,

Thanks for the answer to the post. It's what I was looking for, but I can't find the link you're talking about. Where is it, and do I need a special module to do it?

Thx.

EffieRover’s picture

Install pathauto ( http://drupal.org/project/pathauto ), which will create better link names for your pages automagically if you forget (and/or if your members forget) and don't forget the patch under #17 on this page: http://drupal.org/node/43712 (if you're using 4.6.x) so your site doesn't drag its feet.

helsinki’s picture

If you want to use the built-in path alias (the path auto sounds like a good module though), then you can just type admin/path to your normal drupal url and it should take you to the right page.

mitz’s picture

Thanks,

I found that I had to enable "paths" in "modules" first.

re: pathauto...I'm a control freak ;-)

EffieRover’s picture

Whatever your pleasure :) . We're passing 4,000 nodes ... no way I'd do all of them. Pathauto uses the title with underscores.

deplorableword’s picture

Quick question, are you using 4.6. or 4.7 with this?

deplorableword’s picture

thanks!

deplorableword’s picture

thanks!