translate node/id to the corresponding url alias
alexcunha - September 24, 2009 - 20:22
| Project: | Pathologic |
| Version: | 6.x-2.0-beta22 |
| Component: | Miscellaneous |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Jump to:
Description
Hi,
Not sure if the purpose of this modules, but pathologic can translate URLs with node/id with the corresponding url alias?
thanks for the clarification

#1
It's not the purpose of the module, but yes, it will do that in the same instances where Drupal itself would do it. (I think.)
#2
Thanks for the answer.
The problem I have is: when creating and editing content, the editors (humans) will create links with node/id. I need a automatic way (filter?) that when the content is viewed the links appear with url/alias instead of node/id.
The default installation of drupal take care of this? It is needed a filter for that? Pathologic can do that?
I have several sites with drupal 6.14 and Pathologic but node/id ulrs are not translated.
Thanks for your help
#3
That answer I gave yesterday was more than a little unclear. Sorry.
When Pathologic process a path, it tries to guess if it is a path to something inside your Drupal installation, such as a node. If it looks like it is, it runs the through Drupal's url() function, which will convert node/X paths to aliases if the aliases exist.
So, if you're using Pathologic and this is not happening, unfortunately it means there could be several things wrong:
You should also remember that the output of input filters like Pathologic is cached; Pathologic is not reprocessing the text every time the node is viewed. So if you create a link to node/123 before that node has a custom path, then give node 123 a custom path, your link will still point to node/123 until you either edit the node with that link in it or clear your site's cache.
Hope this helps.
#4
hi,
How can i get corresponding translated node/id of the node id?
Thanks in advance..
#5
Hi,
I am using 6.x-1.2 version. I am not able to translate http://ganaveen-xyz.com:90/drupal/forum/2 ... here in location of 2 i want to have the Forum name.
Is it possible to have that? by even using another module.
any guidance will be appreciated.
Thanks,
Naveen
#6
gsnaveen, you should be able to do that using the core "Path" module and creating a path alias for forum/2.
#7