Good afternoon.

I have pathauto set up to create aliases for users' blog posts, and the blog pages of users.

The user blogs I want blog/user
The posts are blog/user/node-title

It's working find for posts, but the blog pages still appear as blog/4 (for example).

Help is greatly appreciated.
Dan

Comments

Saoirse1916’s picture

I'm having the same problem, so I'm keeping an eye on this as well.

halloffame’s picture

Yes, I can confirm this as well. I have set my auto alias to [user-raw]/blog but the blog/uid is still persistent and the former throws me a 'page not found' error. I was hoping that I could manually change the URL alias instead... and adding to my horror blog/uid is nowhere to be found in the current URL alias list.

Can anybody throw us some light? Thanks.

greggles’s picture

Maybe try 6.x-1.x-dev. If that fixes it I'll make a new official release.

mahapke’s picture

The trouble I am having is that not only do the path's not get created on new users, but old ones are apparently disappearing. When I rerun config with the batch option checked, they appear again, only to be deleted later on. I will try the dev version.

greggles’s picture

Perhaps this is a duplicate of #553508: Object assignment destroys roles for subject $user?

Also, nobody is clarifying 6.x-1.1 vs. 6.x-1.x. Please clarify which version you are using and whether the problem is fixed in one of them.

mbx1’s picture

Status: Active » Fixed

Make sure you check "Bulk generate aliases for blogs that are not aliased" under the blog path settings on admin/build/path/pathauto.

halloffame’s picture

Upgrading to 6.x-1.x-dev fixes the problem. So sorry for the late reply. Thanks!

Status: Fixed » Closed (fixed)

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

kassissieh’s picture

Version: 6.x-1.1 » 6.x-1.x-dev
Status: Closed (fixed) » Active

I have attempted to bulk generate user blog aliases with pathauto versions 6.x-1.2, 6.x-1.x-dev, and 6.x-2.x-dev (today's versions). Before bulk generating, I deleted all existing blog aliases (only 8). Then I bulk generated user blog aliases. Drupal reports that pathauto has created "0 new aliases," and sure enough, no user blog aliases appear in the pathauto list. Help!

I am running Drupal 6.14. The user blog alias pattern is set to blog/[user-raw]. Blog node paths work just fine (blog/[user-raw]/[title-raw]).

Thank you!

linearb’s picture

Version: 6.x-1.x-dev » 6.x-1.2
Category: support » bug

I have updated to 6.x-1.2 and can confirm that this is still a problem
Here are 4 cases

CASE 1
User creates account and creates first blog post:
posts: /blog/date/user-raw
blog: /blog/uid
-- if admin creates subsequent posts for user, blog is still /blog/uid

CASE 2
Admin creates account for user and creates first blog post for user
(assigning user name in Authoring Info)
posts: /blog/date/user-raw
blog: /blogs/user-raw
-- if admin creates subsequent posts for user, blog is still /blogs/user-raw

CASE 3
User creates account, but admin creates first blog post for user
(assigning user name in Authoring Info)
posts: /blog/date/user-raw
blog: /blog/uid

CASE4
Admin creates account for user, but user creates first blog post
(assigning user name in Authoring Info)
posts: /blog/date/user-raw
blog: /blogs/user-raw

So, if the Admin creates the account, the blog path is /blogs/user-raw (as specified in path-auto)
If the user creates the account, the blog path is /blog/uid

Hope this helps narrow it down.

btw, greggles, missed you at DrupalCamp Austin.

dave reid’s picture

Status: Active » Closed (duplicate)

Merging with #352346: Blog path settings which needs to be re-confirmed for the latest version.