Closed (won't fix)
Project:
Permalink
Version:
6.x-1.2
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
8 Jul 2009 at 02:13 UTC
Updated:
25 Jan 2011 at 02:35 UTC
Thanks for the great module....
Could we have an option to show either url alias or /node/NID in the link box?
Thanks.
Comments
Comment #1
todd nienkerk commentedranavaibhav: I don't see a use case for displaying the node's URL alias. A link that uses the alias is no different than the one provided by the teaser, view, or wherever you're listing linked content. (A user could simply copy/paste that URL from their browser's location bar.) Additionally, the URL alias of a node could change, making it impermanent; the node's NID is truly permanent, which makes it the ideal permanent link ("permalink").
What use case do you have for using the URL alias instead of the node's true, permanent link at /node/NID?
Comment #2
keith_k commentedCan I follow up? I have two sites. Both have pathauto installed with clean URLs
1 - One one site, the permalink links go to the /node/NID
2 - On the other site, the permalink links go to the pathauto alias.
I actually want #1, not #2, on both sites. Can you tell me how to fix it?
Comment #3
asb commentedSame issue like #2, subscribing.
Comment #4
todd nienkerk commentedkeith_k and asb: I'm afraid I don't understand what you're asking. What do you mean by "the permalink links go to" a particular path? Is the Permalink module not functioning properly?
Comment #5
asb commented@Todd Nienkerk (#4):
I was looking for a simple and fast way to print something like
Permanent URL: http://myblog.tld/node/12345on the bottom of every node. Honestly, I was simply too lazy to look up the variables and syntax required to put this directly into node.tpl.php. After installing the module, I noticed that it generated Links to the aliased (Pathauto generated) path, not to the NID; that I don't need, so I uninstalled the module and modified my template.If the 'Permalink' module is supposed to offer really permanent links, then it should IMHO at least point to the NID, not to an alias (which might change anytime). According to #1 I would say "yes", the 'Permalink' module wasn't functioning properly for me. But that's no big issue since modifying the template does more or less what I need.
Greetings, -asb
Comment #6
todd nienkerk commented