in reply to Getting the node number of a space-filled node ID
Just to clarify your terms a bit... The numeric node number (e.g. 236794) is the node ID, whereas the texty string (like Chatterbox FAQ) is the node title.
Normally, you'd use two different CGI params for these: node_id in the first case, node in the second case. *
To set those up in shortcuts, you'd do [id://236794] in the first case, [Chatterbox FAQ] in the second. **
(* It's possible to pass a node ID to the node= parameter; the engine is smart enough to figure out that you were probably passing a node ID rather than a title.)
(** When the engine gets a URL with a node= param (like node=Chatterbox FAQ), it's not so much linking directly to "the" node with that title; it's really doing a search for any & all nodes with that title. Only when there is exactly one node with that title does it take you directly to that page.)
|
|---|