Pathauto is the most common module which i think almost all Drupal websites use it to format the path alias. Sometime we want to use the node title as part of the path alias but if we are working on multilingual Drupal website, this may lead to non english URL.
So we have the Transliteration module to solve the problem. It takes Unicode text and tries to represent it in US-ASCII characters by attempting to transliterate the pronunciation expressed by the text in some other writing system to Roman letters. In addition, it also helps creating clean file name on file upload.
1. Download and install the Transliteration module.
Continue reading Drupal 7 – Pathauto and Transliteration
Recently i am working for a site with 6 different languages. =.=
I found that when i create a node translation, the Automatic alias option in URL path settings does not work. Whenever i save the form, that option is unchecked. Continue reading Drupal – Pathauto alias doesn’t work in different language for multilingual site @ 1
With Pathauto, we could configure the node path alias in a much convenient way. Sometimes, we may want to get those alias in code during Drupal development. The following function will return the path alias from a nid. Continue reading Drupal – Get Path Alias from Node ID/nid
The Taxonomy Menu allows you listing all taxonomies in a menu. You can either link the taxonomy by term id or term name. I have Pathauto installed such that each term is linked to a URL alias.
Continue reading Drupal – Override the Menu Link in Taxonomy Menu
All Drupal contents are base on node. Whatever contents you create, it has a url http://<drupal_root>/node/<node_id>. For each content, you can customized the URL alias but think about if you have 100 nodes, you will not enjoy setting the each alias manually. It’s better to pass the job to PathAuto.
After installation, go to @ Administer –> Site building –> URL aliases. There is a new tab called Automated alias settings. For every Story content type, i want the URL alias to be http://<drupal_root>/stories/<story_title> so i set stories/[title-raw] in Pattern for all Story paths. Continue reading Drupal – Automated URL Alias Using Pathauto