Taxonomy menu

public
gadehans - Thu, 2008-02-21 20:51

Using taxonomy is a great way to organize your content and it seems that most newspapers on Drupal uses this method. But how do you make autogenerated menus from category-terms with pretty urls in a generel manner?

The module "Taxonomy menu" generates menus from category-terms but leaves you with ugly urls of the form: http://thisNewspaper/taxonomy/term/3, which can't be very search engine friendly.

Using views and making every menu-item by hand (pointing them to a view) gets you pretty urls, but is a fairly complicated way of making menus.

Is there any way of doing this - auto-populating a menu with taxonomy-terms with pretty urls?

Taxonomy Context

Alex UA's picture
Alex UA - Thu, 2008-02-21 21:31

Taxonomy Context does that for you.


Pathauto

aaron's picture
aaron - Thu, 2008-02-21 22:00

Pathauto. I generally use Views and arguments, but you could use a combo of Taxonomy Menu & Pathauto. Not familiar with Taxonomy Context -- would it conflict with Pathauto?

Aaron Winborn
Advomatic, Web Design for Progressive Advocacy, Grassroots Movements, and Really Cool Causes


Pathauto and Global Redirect

glove's picture
glove - Fri, 2008-02-22 06:37

Pathauto is definitely the way to go for this. I'd recommend pairing it up with Global Redirect to make sure that people use the pretty urls.


I didn't have any problems with Pathauto...

Alex UA's picture
Alex UA - Fri, 2008-02-22 18:16

You can see Taxonomy context working on the Peacework Magazine site, which has a pretty large and complex taxonomy structure. The "Geography" and "Category" menus are multi-leveled taxonomies being served up by taxonomy context. The one other thing that I did have to use was "Taxonomy Force All", so that child taxonomy items would show up on the parent term listings...


Pathauto and...

gadehans - Sat, 2008-02-23 19:01

Thank you for all the good advices.

It seem that Pathauto is crucial to obtain the pretty urls. I tested Pathauto in combination with Taxonomy context and it worked out fine. Pathauto generates costum url aliases for the typical taxonomy-paths, so Pathauto should work in combination with most "taxonomy menu" modules.