What is difference between Entity Path and Path auto? Are these modules integrated? Or are these modules for slightly same functionality?

Comments

ergophobe’s picture

I haven't used this yet, but since it's the successor to Taxonomy Redirect, I'm hoping this is roughly accurate.

If you know Apache server admin, it's like the difference between a URL rewrite and a redirect, with pathauto being the rewrite and entity path being the redirect.

Path Auto - points to the same resource by a different name. So my_alias is an alias for node/1 but in either case you see the same content

Entity Path - redirects to a new resource entirely. So (assuming Taxonomy Redirect functionality), taxonomy/term/1 is redirected to node/1 which might also be called my_alias.

Hopefully someone who has actually used this will chime in and confirm or deny this understanding ;-)

thomasmurphy’s picture

Issue summary: View changes

Wouldn't it make more sense to name this module "entity redirect", rather than entity path, in that case?

Anonymous’s picture

#2 agreed, it confused me also.

derhasi’s picture

"Entity Path" is no redirect nor an alias. Entity path changes the internal path of the entity.

It is a configuration for Drupal Core's API function: enity_uri(). The problem here is, that most of the contrib modules available do not care about enity_uri() at all and either use "Entity API" or hardcode paths like "node/..." and "taxonomy/term/...".