Closed (fixed)
Project:
Pathauto
Version:
5.x-1.1
Component:
Miscellaneous
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
31 May 2007 at 21:01 UTC
Updated:
14 Mar 2011 at 18:01 UTC
HI,
I added the pathauto and set it up to create path for the blog as [user] for the blog.
One of my user is "gers" the url before aliasing was http://blog.xxxx.org/?q=gers now it's http://blog.xxxx.org/gers
but in the page generated it had the physical path on my webserver something like "www/blog" as drupal is the folder blog in the www folder.
I check on setting.php and put $base_url = 'http://blog.xxxx.org'
Any idea what I get wrong ?
Thanks for your help
JBI
Comments
Comment #1
Leeteq commentedSetting this as a support request until it is confirmed if it is a bug. Also, if it is still an issue, now that v1.2 is out, please update the version number of this issue.
Comment #2
gregglesI'm really not sure what's going on and I've never heard of this bug before even though I have used pathauto in subdirectories and with drupal installed in a variety of different places.
DanielTheViking - thanks for your help in the queue. I prefer to leave bug reports as they are and mark them "needs more info" if it's unclear how to repeat the bug.
Comment #3
gregglesOld issue with no response - assumed to be closed.
If not - please reopen.
Comment #4
tugis commentedSorry for re-opening such an old issue! I suppose I'm having the same unwanted behaviour as described in this issue.
So, I have:
* Node type A where I defined a url alias pattern
* Node type B, which references node type A, where I defined a url alias pattern base on A:
[node_A_reference_field-path]/[node_B_field]I use the CCK node reference replacement patterns to get the path of referenced node (node_A_reference_field-path).
The problem is that in the alias for B the generated alias gets the site "base path" attached, which causes the url to have repeated base path ex: base_path_xpto/base_path_xpto/node_B_alias which is an unwanted behaviour.
Hope the explanation is clear.
Comment #5
dave reidYou would file a feature request with CCK which provides the Tokens for node reference fields asking for a non-absolute URL token. There's nothing we can do in Pathauto.