0

I'm using Pathauto and Countries to build path aliases that reflect the country and corresponding continent of a node. For example if a node's country field is set to Spain the url should be: europe/spain/node-title.

My pattern is: [node:field-prgm-country:continent-name]/[node:field-prgm-country]/[node:title] The country renders correctly but the continent shows nothing. I've tried any other additional data (see attached image) and none of it shows.

How do access this additional country data for use in my path aliases?

enter image description here

1 Answer 1

0

It apperas to be a known issue with some of the country metadata so the current solution is to use the following slightly different continent token:[node:field-prgm-country:continent]/[node:field-prgm-country]/[node:title]

1
  • Can you add some explanation about your answer? Commented Jan 4, 2019 at 16:25

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.