I'm getting url alias for all articles like mysite.com/node/14 but I wanted to set the url as aritcle titles like this: mysite.com/article-title

So, How to set all url alias as per the articles title?


Use Pathauto module.

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.
The aliases are based upon a "pattern" system that uses tokens which the administrator can

|improve this answer|||||
  • what should I type in path pattern? – Navin Rauniyar Jun 27 '14 at 7:05
  • I tried [current-page:title] but nothing change.. – Navin Rauniyar Jun 27 '14 at 7:06
  • @wolverine - we posted same answers, same time :) but I'm bit late. So I'm going to delete my answer – Krishna Mohan Jun 27 '14 at 7:06
  • 1
    @NavinRauniyar It will work only for newly created node. For existing node you have to manually add the alias. – wolverine Jun 27 '14 at 7:19
  • 1
    no, it worked for me. I used bulk generate option. – Navin Rauniyar Jun 27 '14 at 7:28

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.