Taxonomy menu

Events happening in the community are now at Drupal community events on www.drupal.org.
gadehans's picture

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?

Comments

Taxonomy Context

alex ua's picture

Taxonomy Context does that for you.

Alex Urevick-Ackelsberg
ZivTech: Illuminating Technology

Pathauto

aaron's picture

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

Aaron Winborn
Drupal Multimedia (my book, available now!)
AaronWinborn.com
Advomatic

Pathauto and Global Redirect

glove's picture

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

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

Alex Urevick-Ackelsberg
ZivTech: Illuminating Technology

Pathauto and...

gadehans's picture

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.

Newspapers on Drupal

Group organizers

Group categories

Topics - Newspaper on Drupal

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: