Tag Archives: URL Alias

Drupal – Pathauto alias doesn’t work in different language for multilingual site @ 2

Yesterday i talked about how to fix the Pathauto problem in multi-lingual Drupal site.
Drupal – Pathauto alias doesn’t work in different language for multilingual site @ 1
Continue reading Drupal – Pathauto alias doesn’t work in different language for multilingual site @ 2

Drupal – Get Path Alias from Node ID/nid

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

Drupal – Automated URL Alias Using Pathauto

All Drupal contents are base on node. Whatever contents you create, it has a url http://<drupal_root>/node/<node_id&gt;. 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&gt; so i set stories/[title-raw] in Pattern for all Story paths. Continue reading Drupal – Automated URL Alias Using Pathauto