Hi,
I guess this topic has been posted before, but I could not find it while searching.
So, how could I write a module or edit the current node module so it does not say 'node' in the url. Example: ?q=node/1
I would like a url like ?q=articles/1
Or what would be even more terrific: a url like ?q=articles/title_of_article

Is it possible to do so with Drupal?
Currently I am using the 5.0 beta 1.

I've some PHP experience, so a link to a tutorial wouldn't harm me: )

Thank you

Comments

robertdouglass’s picture

Otherwise, look into using the custom_url_rewrite function to rewrite incoming or outgoing paths.

- Robert Douglass

-----
Lullabot | My Drupal book | My Digg stories

svendecabooter’s picture

Or you could just enabled the 'path' module in your admin settings, and then when creating/editing a page or other content item, open the 'URL path settings' at the bottom of the page, and type in any URL structure you want, like 'articles/title_of_article'.

The pathauto module is ofcourse easier if you want to let Drupal generate the paths for you, instead of doing it manually :)