By erkifish26 on
Right now when users create a page, the url is mysite.com/node/(post number). How do I set it up so that rather than /node/(post number), the user is able to create their own directory?
Right now when users create a page, the url is mysite.com/node/(post number). How do I set it up so that rather than /node/(post number), the user is able to create their own directory?
Comments
path, pathauto
The built-in path module allows custom paths to be set for any node; be sure you have it activated (Admin -> Site building -> Modules -> Core - optional -> Path) and the "create url aliases" permission active for your users. A drop-down fieldgroup labeled "URL path settings" will now become available on the node creation and edit forms.
Of course, this allows the user to select any path, which you may not want. You could alternatively disallow the permission and use the http://drupal.org/project/pathauto module instead, which will generate automatic URL aliases based on the tokens (http://drupal.org/project/token ) you select.