Hi there..

When i add Pages or Stories to my Page, they all get numbers as/for names..
for example http://www.site.com/node/1 for my Page "About us" and
http://www.site.com/node/2 for "Artists" ...

How can i rename those numbers to a real name...
So i want my Page "About us" to have the link http://www.site.com/node/about ..

And so on...

So how can i change this numeric naming style to an alphanumeric ?!

thx

Comments

joachim’s picture

Enable the Path module.
And you might as well skip the 'node' part, and just have http://www.site.com/about :)

kobo1d’s picture

hehe..

thx alot m8!
this did the trick..

is there maybe sumthing similar for the user-system ?!
"users/admin" instead of "users/1" etc...

thx again

shishira’s picture

the pathauto module is the first module i install on all my sites makes this job so much easier

kobo1d’s picture

lol i just read about this mod and it sounds awesome, but im using drupal 6..
i see the compatibility of this mod isnt stable for v6 yet..

do you use it on drupal 6 ?

cm1967’s picture

Hi,

I know that this post is old but it follows right in line with what I have been researching but can't quite figure out. I enabled the path module and installed the pathauto module. They are both enabled but I'm not quite sure how to use them.

Thanks for your help.

kobo1d’s picture

everything is working sweet with this autopath module :)

thx again..

btw.: do u maybe have any more suggestions for other 3rd party addons,
which could make my life easier ?! ;)

thx

shishira’s picture

Michael Beechey’s picture

D6..I can use PathAuto to change www.example.com/node/123 to www.example.com/test but how do I create a single word working alias for the link, ex just "test"?

thanks in advance!

-Anti-’s picture

What happens if you type /test as the internal url for the menu link?

Michael Beechey’s picture

doesn't work

-Anti-’s picture

Yep, you're right. When I typed 'test' in the menu, I got this message:

"The menu system stores system paths only, but will use the URL alias for display.
'test' has been stored as 'node/4'."

It makes perfect sense, actually, that the menu doesn't accept aliases, because it is possible to edit, redefine, and bulk-create aliases. By always using the original form of the path, the menu links won't break if the aliases change.

Also note that 'node/4' is a 'partial absolute' path, which means that if you move your site to another domain, from a subdomain to root, or from root to subfolder, the link will not break either.

One thing which may be confusing to you is that things have changed since D5. The node has to exist in D6, otherwise the menu will give an error. In D5 you could make all your links first, and then create content. In D6, the content has to be created first.

Michael Beechey’s picture

In D6..someone showed me the easy way...(this is on a node page of link listings)

1. Paste the link in the node content in html mode
2. edit same input in plain txt mode - the URL is listed twice..in the second occasion change the to plain txt.

ie

www.musementors.com/article-music-and-the-brain 

becomes

Music and the Brain 

-Anti-’s picture

Sorry, we were talking at completely cross-purposes.
I thought you were talking about the MENU item links not accepting aliases.

It didn't occur to me that you were talking about how Drupal automatically
converts urls in the content into hyperlinks.

> 1. Paste the link in the node content in html mode
> 2. edit same input in plain txt mode

Which editor are you using? TinyMCE and FCK both provide a 'link' button, so
you paste the url in one text box and write the link-text in another. This may
be easier for your users than changing mode and editing html.