Not sure if I am just missing something but trying to direct my terms to "/products/id" instead of the existing "categories/name"

I've added a path for the "category" term and there seemed to be no change on my term links.

I also added one for my product nodes and it doesn't seem to make a difference.

I was using pathauto and figured perhaps the alias was overwritting the path but deleted the alias for one of the links with still no change

One of my exports:

$entity_path_config = new stdClass;
$entity_path_config->disabled = FALSE; /* Edit this to true to make a default entity_path_config disabled initially */
$entity_path_config->api_version = 1;
$entity_path_config->cid = '1';
$entity_path_config->instance = 'taxonomy_term:categories';
$entity_path_config->path_pattern = 'products/category/[term:tid]';
$entity_path_config->query_pattern = '';
$entity_path_config->fragment_pattern = '';
$entity_path_config->config = array(
  'pathauto_cleanstring' => 0,
  'space_separator' => 0,
  'space_separator_char' => '_',
  'path_case' => '',
);

Comments

derhasi’s picture

Status: Active » Postponed (maintainer needs more info)

kilrizzy, I guess you mean that categories/$name is the aliased name for taxonomy/term/$tid. If so I'd propose you disable the path.module for the moment, so you can see the internal links.

Then you might notice that on admin/structure/taxonomy/... the terms are linked with the taxonomy/term/..., but when you go on a node that was tagged with a specific term, the links (most times on the bottom) will point to products/....
Do you mean that?

This is because of the usage of entity_uri within core and corntib modules. Only where entity_uri is used, entity_path can work.

I'm working on this issue in #1402400: Update paths that do not use entity_uri().

kilrizzy’s picture

Status: Postponed (maintainer needs more info) » Active

Ah, it looks like this is updating my links from within the content. Just not from the administrative menus or when using taxonomy menus.

Was able to use Views to create my own term menu instead. Great module!

derhasi’s picture

Status: Active » Closed (duplicate)

Ok, then I mark this as duplicate of #1402400: Update paths that do not use entity_uri().

kilrizzy, if you got any other aspects for this issue, don't hesitate to leave a comment ;)

1800collect’s picture

Just to be clear. If I am trying to use entity path to redirect taxonomy terms to a different path any new taxonomy term created on a new node would not get the updated entity path?

For example see how I am using Entity Paths here; http://drupal.org/node/975688#comment-5477110

I noticed I had to re-apply the entity path so that all the recent nodes tagged with a taxonomy term get their path updated.

derhasi’s picture

1800collect, I guess this is a general cachin issue of the node. As the entity path (nor entity_uri) is cached, entity_path configurations should take effect on any uncached link.