Quantcast
Viewing latest article 1
Browse Latest Browse All 6

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.
Image may be NSFW.
Clik here to view.

 

There are many Replacement patterns. check it out which one fits you most.
Image may be NSFW.
Clik here to view.

 

For the content which you have created before the Pathauto installation. you have to enable the Automatic alias attribute manually in the node edit page.
Image may be NSFW.
Clik here to view.

 

Try the URL alias.
Image may be NSFW.
Clik here to view.

 

Done =)

Reference: Drupal Module – Pathauto


Filed under: CMS Tagged: Drupal, Pathauto, URL Alias Image may be NSFW.
Clik here to view.
Image may be NSFW.
Clik here to view.

Viewing latest article 1
Browse Latest Browse All 6

Trending Articles