Forum alias, how?

nicoloconte - November 3, 2009 - 22:41
Project:Pathauto
Version:6.x-1.2
Component:Miscellaneous
Category:support request
Priority:normal
Assigned:Unassigned
Status:closed
Description

Hi guys,
I'm using the forum module and my request is: how can I create an alias like this?

www.site.com/forums/forumcontainer/forumname/topicname

I tried in several ways without success.

Thanks

Nicolo'

#1

markDrupal - November 3, 2009 - 23:38

you can give your forum a URL alias:
[vocab-raw]/[catpath-raw]

and give forum nodes a URL alias:
[type]/[termpath-raw]/[title-raw]

Make sure your "forum" taxonomy term is above all other on the 'add forum post' form.

#2

nicoloconte - November 4, 2009 - 09:29

Ok thanks,
in one installation work nut in another installation (where i made several tests with pathauto) the solution doesn't work: it creates urls like "node/number", why? I need to delet the old forum's alias?

Thank you.

Nicolo'

#3

markDrupal - November 4, 2009 - 17:08

You would be better off if you deleted the alias for the forum first, then setup pathauto with the string I gave you above, then do 'bulk generate alias' for the forums and forum nodes.

Its always been a huge pain for me, but it works better if you delete the alias first then 'bulk generate'. That's why it is best to set it up correctly the first time.
good luck.

#4

nicoloconte - November 4, 2009 - 19:36

I deleted all the forum's aliasa and then 'bulk generate'. I have the same problem: www.site.com/node/32 for the forum's topic. Where can I check?

#5

markDrupal - November 4, 2009 - 21:14

will it work with other content types?

#6

nicoloconte - November 4, 2009 - 21:38

Yes, I use the storm module and also a faq module and I don't have problems.

#7

markDrupal - November 4, 2009 - 23:33

What are your settings for path auto for faq content type?

you say 'module' but I asked if you are using additional 'content types' that work with path auto. Are faq & storm content types?

#8

nicoloconte - November 5, 2009 - 13:17

Sorry I misunderstood you question.
Yes, I have created a new content type and I'm using it with pathauto without problems. The faq and storm 'nodules' create owns content type and also with them I don't have particular problems. Maybe a forum 'module' problem?

#9

markDrupal - November 5, 2009 - 17:07

I'm using the forum module and pathauto without any problems.

If it is working for one content type, FAQ, but not the forums, you need to double and triple check your pathauto settings. Also try setting the alias manually.

Also make sure you are using this most upto date forum module without any 3rd party patches.

Other than that I'm stumped.
You could try to do a fresh install of drupal/forum/pathauto and test in a clean environment, that might give you more information.

#10

nicoloconte - November 5, 2009 - 18:14

In a fresh installation everything works great.

#11

greggles - November 5, 2009 - 22:06
Status:active» fixed

That is tough - then please keep tweaking the fresh installation until you can reproduce the problem. Without that we are debugging by esp.

#12

System Message - November 19, 2009 - 22:10
Status:fixed» closed

Automatically closed -- issue fixed for 2 weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.