I am trying to see if there is a way to avoid having pathauto need to add _0 to a forum taxonomy.
This happens because the name of the forum and the category is the same, for example, at the drupal site:
Installation problems forum is forum/1 as well as taxonomy/term/1
Fiddling around with pathauto settings, it uses a single rule for both the situations - the "Category path settings" box, specifically the "Pattern for all Forums paths:" entry.
So, there is no way to avoid having a _0 pattern appended, for example, in the case above, you get:
forums/installation
forums/installation_0
each pointing to, respectively:
forum/1
taxonomy/term/1
Seems like the first case (forum/1) should use the node rules instead of "Category path settings"?
Is this something that can be fixed in the config, or this is a new feature request, or this is something impossible?
Would be great if I could have the full forum (with the index) show up at forums/installation - so that should map to forum/1, and then have the pathauto generated alias for the taxonomy be "category/forums/installation" where I use the cat prefix to refer to all taxonomy aliases.
forums/installation
category/forums/installation
Comments
Seconded.
I also have a need for an answer to this.
having the same problem with forums and pathauto alias
I thought I was the only one having this issue since I could only find this thread discussing it.
I'm using pathauto to generate all my URLs in Drupal, so like your example, I get something like this:
/forum/side-effects/ &
/forum/side-effects-0/
both of which point to the same location regardless of what I put into pathauto settings for the forum aliases.
This is an issue and I'd really like to use the forum Drupal comes with, but I can't use it like this.
Any help would be appreciated.
SEOPosition.com
Web Site Optimization
Offering Pure CSS Design, Web Optimization & SEO Consulting
pathauto and category path aliases - manual workaround
Don't have a fix or patch for this, but since others are running into the same problem, just wanted to point out that a manual workaround exists.
Since forums or categories are not created that often, once you have the term created, then just go to the url aliases administration button, and rename the _0 aliases as needed, and swap the old alias where needed.
search issue queue first
Hi,
There is an issue in the issue queue now: http://drupal.org/node/118676. That is the best place to understand and find a solution to the problem.
I have a workaround in there (see comment 17) though I'm not 100% sure that it works.
--
Knaddison Family | mmm Free Range Burritos
--
Morris Animal Foundation