See related issue here (http://drupal.org/node/994344).
I have created a custom url alias for a custom content type with url alias being "question/[nid]." The content type is being referenced by another node type. I am using the custom breadcrumb module to link from the other node type to the referenced path.
I am developing on a localhost thus making the home path "localhost/drupal." When I test the custom breadcrumb on the node itself it generates a path of "localhost/drupal/drupal/question/[nid]." It seems that pathauto is adding an additional "/drupal" despite it not being a part of the url alias.
I have tried other things with the custom breadcrumb path such as adding the special identifier for pathauto,
. It did not fix the issue it produced a different yet still incorrect path of "localhost/drupal/drupalquestion/[nid]"
I am not sure whether it is a custom breadcrumb module issue or a pathauto issue. I am running D6.19 on XAMPP if it means anything.
Thanks
Comment | File | Size | Author |
---|---|---|---|
#3 | Screen Shot 2012-10-05 at 10.06.42 AM.png | 24.08 KB | organicHack |
Comments
Comment #1
Dave ReidIf you look in your {url_alias} table, do your aliases actually have 'drupal/' at the beginning of them? If not, then it is not a Pathauto problem.
Comment #2
Dave ReidComment #3
organicHack CreditAttribution: organicHack commentedPathauto can be a little quirky on localhost. I haven't done anything with the custom breadcrumb module as stated here, but I use Node Hierarchy to help my clients create a sensible page structure automatically. The same things as reported happens.
So you can see that it knows to ignore "localhost" but "local-drupal" is the actual root of the site. The parent pages (top level) generate urls fine... but the child aliases are quirky (local-drupaltest-parent-1/test-child-1). Strangely when I push the site live it generates correct urls simply because the site exists in the root (www.example.com) not a sub-directory.
Hopefully that is a little more helpful info for this one!
Comment #4
organicHack CreditAttribution: organicHack commentedSorry, an update on my last comment. This is with Drupal 7.x, not Drupal 6. I also did not change the status.