I am enabling both pathauto and blog as part of an installation profile. After the install, everything works fine except for blog aliases, which continue to appear as "blog/[uid]" instead of "blog/[username]". If I go to the pathauto configuration page and bulk update the blogs everything will then work fine.
Aliases do work for nodes, blog entries, categories, and users. It is just blogs that are broken.
I am looking for a way to trigger whatever needs to be triggered so that blog aliases work out of the box. I tried calling blog_pathauto_bulkupdate() in the install profile and it seemed to work (I see "Bulk generation of user blogs completed, 0 aliases generated." at the end of the install) but the aliases are still not set for new blogs.
Any ideas how to make this work? Thanks!
Comments
Comment #1
gregglesDo the users have permission to blog?
Comment #2
gregglesComment #3
starkos commentedAs I continued working on my install script the problem seems to have magically disappeared - good, I guess, but I wish I knew what had caused it. I've tried rolling back to some earlier versions but I can't get the behavior to come back. If I can reproduce it I'll report back, otherwise I'll have to assume that there was something in my own code that was causing the problem.