1

I would like each kind of content to have its own base url, for example, example.com/international-news/friendly-url-of-node-id

How can I manage to get both a friendly url and a base url (friendly-url... and ../international-news/ respectively in the example) with the minimum possible modules (or only those from the core)?

8

Use Path Auto and Token Module to achieve it. It also supports multilingual functionality!!

The Pathauto module automatically generates URL/path aliases for various kinds of content (nodes, taxonomy terms, users) without requiring the user to manually specify the path alias. This allows you to have URL aliases like /category/my-node-title instead of /node/123.

  • Go to admin/config/search/path/patterns path :

enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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