2

I've path alias and taxonomy menu. Now menu displays taxonomy link as vocabulary_name/term_name.

For example, my vocabulary name is 'category'. I want to change into 'article'. I've to only for this situation. I've used path alias. Unfortunately my view link looks like same.

I've tired hook_menu_alter() and hook_menu_link_alter(). But there is no luck. I need your suggestions.

1 Answer 1

0

Go to the path alias, set your path to what you want, then from admin/config/search/path/delete_bulk delete all taxonomy path , then from admin/config/search/path/udate_bulk rebuild them.(this is is pathauto mdoule)if your menu link not worked rebuild them ( with taxonomy menu module)

5
  • For my requirements, i can't use pathauto. because i've already used.
    – Guru
    Sep 25, 2015 at 7:01
  • @Guru I know you use it, I tell you rebuild your path
    – Yuseferi
    Sep 25, 2015 at 7:06
  • In my cases, i've to change term path only on main_menu
    – Guru
    Sep 25, 2015 at 7:53
  • we have 2 section, one links in main menu, second path alias of node, you should change both part
    – Yuseferi
    Sep 25, 2015 at 9:05
  • I already used path alias for [vocabulary_name][term_name]. So that page is good. I want to change only links displayed in main_menu
    – Guru
    Sep 25, 2015 at 11:41

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.