Hi all,

I am having problems with using pathauto for forum topics... I have searched and found lots of interesting topics and discussions on here but am unable to find the answer and/or interpret the answer.. Please help!

I have "[vocab-raw]/[catpath-raw]" for the pattern for Forum and Containers which works fine.

But I have tried every possible combination of the tokens for forum topic and the closest I get to the correct path is: "forums/title". In other words, pattern is [title-raw].

What I am looking for is something along the lines of "[vocab-raw]/[catpath-raw]/[title-raw]"

The catpath is a token that doesn't work for this type and right now I have the pattern:

[termalias]-[menupath-raw]-[vocab-raw]-[term-raw]/[title-raw]

just to see what works and all I end up with is "forums/---/title"

I am sure the answer is in front of me - but has anyone had success with this? Any help would be uber appreciated!

Thanks!

Note: something odd - when I navigate to my "www.example.com/forum" it says "no forum defined" but I do have forums at "www.example.com/forums"... What gives?

Comments

scoutbaker’s picture

If I understand what you are asking, try [vocab-raw]/[termpath-raw]/[title-raw].

wildmtsky’s picture

thanks but that doesn't work. I get just the [title-raw] at the end. Is this a vocab category issue? I can set up the forums and the paths work fine but it is the topics that are the issues..

wildmtsky’s picture

I noticed that when I list the terms in my categories for the forums the links still go to the taxonomy/term but under my forum admin area it is going to my url that I created. Any thoughts?

daytripscanada’s picture

Same issue. I would like to see /forum/general-discussion/this-is-my-post

nicoloconte’s picture

Subscribing, I wont www.site.com/forum/topicname and not www.site.com/content/topicname

Any solutions?

Chris Lozinski’s picture

I had a similar problem which was solved when I discovered that there is a second configuration setting for 'Forum' content types under the 'Node Path Settings' section of the URL Aliases page (Drupal 6.x):

http:/yourdomain.com/admin/build/path/pathauto

Under the 'Node Path Settings' section there is a setting called, 'Pattern for all Forum topic paths'.

I entered the following into this field and it resolved my problem:

forum/[title-raw]

Hope this helps.

vitis’s picture

tried Pattern for all Forum topic paths: forum/[title-raw]

got: mysite.com/forum-topic-name

Found this to be crucial for getting mysite.com/container-name/forum-name :

Punctuation settings
Hyphen -:
Replace by separator

Still don't know how to get mysite.com/container-name/forum-name/topic-name. How did you solve this?

wdoucette’s picture

mysite.com/forums/myforum/mytopic.html:

[vocab-raw]/[term-raw]/[title-raw].html

mysite.com/forums/mycontainer/myforum/mytopic.html:

[vocab-raw]/[termpath-raw]/[title-raw].html

LiamRo’s picture

Thanks for the info. Just getting to grips with this taxonomy idea. Works great though.
Best Regards, Liam