This description is not as long as others, but very technical and won't explain the principle of aliases to a non-technical user. (And not to a tech-savvy probably as well :) )
this is to be found at /admin/build/path

This is the actual text:
"Drupal provides complete control over URLs through aliasing, which is often used to make URLs more readable or easy to remember. For example, the alias 'about' may be mapped onto the post at the system path 'node/1', creating a more meaningful URL. Each system path can have multiple aliases."

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

cweagans’s picture

How's this read?

"Drupal provides complete control over URLs through aliasing, which is often used to make URLs more readable or easy to remember. For example, if the alias 'about' was assigned to 'node/1', instead of navigating to {$base_url}/node/1, you could navigate to {$base_url}/about"

cweagans’s picture

Status: Active » Needs review
Bojhan’s picture

So two unwritten rules, is try not to mention Drupal and we dont use node in the interface anymore.

I'd say, this paragraph should be like ... So URL aliasing, example...

So not explaining what URL aliasing means, but just giving an example.

gaele’s picture

Component: node system » path.module
FileSize
1.07 KB

"An alias will make a URL available under another name. For example 'node/1' could be named 'about'. A URL can have multiple aliases."

Rationale:
- I wanted to avoid the word "page".
- I wanted to avoid the word "path". The example only shows the path instead of the URL, but I think it is clearer this way.

keith.smith’s picture

Component: path.module » user interface text

Why not slightly more direct language, avoiding "will".

+      return '<p>' . t("An alias will make a URL available under another name. For example 'node/1' could be named 'about'. A URL can have multiple aliases.") . '</p>';

to

+      return '<p>' . t("Use an alias to make a path available under a different name (for example, the alias 'about' for the path 'node/1'). A path may have multiple aliases.") . '</p>';
Dries’s picture

I like Keith's suggestion slightly better. Quick reroll?

Bojhan’s picture

I will do one. A slight change is adding a / to identify that it is a url thing

Use an alias to make a path available under a different name (for example, the alias '/about' for the path 'node/1'). A path may have multiple aliases.

keith.smith’s picture

If we use "/about", shouldn't we use "/node/1"? And, how does the ui act if someone actually enters the leading /? Someone certainly will do so if we show it like this.

Bojhan’s picture

It kills you, but thats a different patch going in soonish I hope.

Yes on "/" :P

Xano’s picture

Node will probably be optional in Drupal 7, so if possible we should avoid using it for examples.

My shot: An alias makes one path available under another one i.e. user/john for user/1.

eigentor’s picture

Gaele wanted to use the term "URL" instead of the word "path" because he thinks (and I second him) that this is a more common word outside the drupal world. I would believe path is more common to drupal users, but not general web users.

Still it is probably not too different :)

keith.smith’s picture

The thing with URL is that the small portion of it we're talking about isn't really a URL.

eigentor’s picture

Well that is right. Hmm. So we are looking for another word. Gaele also though about rendering the missing part of the url dynamically, so the user sees http://theuserssite.com/node/1 but we would have to format that maybe like this http://theuserssite.com/node/1 so the not so important part is a bit put into the background. A very bright text color for the first part of the url would also do.

_Then_ it would be an URL. :)

eigentor’s picture

FileSize
3.88 KB

Like this maybe:

Bojhan’s picture

ugh, lets not do it to difficult. Node beign optional here is like 00000.000001%, just do something different for that thing.

Dries’s picture

Elsewhere in Drupal, I think we refer to this as the "URL path".

I think it is OK to use 'node' in the example -- as Bohjan said, that is pretty minor.

eigentor’s picture

New Attempt. Have incorporated "URL path". Looks now like this:

Bojhan’s picture

I think the example.com is to much.

Xano’s picture

An alias makes one URL path available under other ones i.e. http://example.com/user/john for http://example.com/user/1.

I'd strip the single quotes and use EM or possibly CODE tags instead. I am unsure if we should display the domain name differently. If we do, we should avoid class names that describe styling rather than meaning. A class unimportant would in this case be better, since the domain name actually isn't important.

YesCT’s picture

#8 mentioned that a user might enter a leading slash if we are not careful.

#13 and #14 shows the slash is not part of the alias (http://example.con/node/1

#17 has the slash in the wrong part

So if we go with using example.com or some host name and a class, the slash should be in the unimportant part. See #19.

#16 says it's ok to use node.

If we use the phrase URL path (see #16) maybe we don't need any of that anyway.

+      return '<p>' . t("Use an alias to make a URL path available under a different name (for example, the alias 'about' for the URL path 'node/1'). A URL path may have multiple aliases.") . '</p>';
stBorchert’s picture

Why not use site site's real URL instead of "example.com"?

yoroy’s picture

#20 is almost there. The terms are abstract enough to warrant an example. My rewrite tries to be yet another bit shorter and simpler:

An alias defines a different name for an existing URL path (for example, the alias 'about' for the URL path 'node/1'). A URL path may have multiple aliases."

Dries’s picture

Let's avoid the color-coding in help text, please.

Status: Needs review » Needs work

The last submitted patch failed testing.

eigentor’s picture

Status: Needs work » Needs review
FileSize
1.29 KB

Rerolled.
Incorporated yoroys suggestions, with slight changes, as I hate brackets when not absoluletly necessary. Looks now like this:

"An alias defines a different name for an existing URL path - for example, the alias 'about' for the URL path 'node/1'. A URL path can have multiple aliases."

Dries’s picture

Status: Needs review » Fixed

Committed to CVS HEAD. Much better than what we have today, but feel free to re-open if we want to discuss this more. Thanks all!

Status: Fixed » Closed (fixed)
Issue tags: -Usability, -ui-text, -d7uxsprint

Automatically closed -- issue fixed for 2 weeks with no activity.