Closed (duplicate)
Project:
Pathauto
Version:
6.x-1.2
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
28 Apr 2009 at 20:16 UTC
Updated:
3 Mar 2010 at 04:25 UTC
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
Comment #1
Saoirse1916 commentedI'm having the same problem, so I'm keeping an eye on this as well.
Comment #2
halloffame commentedYes, 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.
Comment #3
gregglesMaybe try 6.x-1.x-dev. If that fixes it I'll make a new official release.
Comment #4
mahapke commentedThe 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.
Comment #5
gregglesPerhaps 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.
Comment #6
mbx1 commentedMake sure you check "Bulk generate aliases for blogs that are not aliased" under the blog path settings on admin/build/path/pathauto.
Comment #7
halloffame commentedUpgrading to 6.x-1.x-dev fixes the problem. So sorry for the late reply. Thanks!
Comment #9
kassissieh commentedI 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!
Comment #10
linearb commentedI 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.
Comment #11
dave reidMerging with #352346: Blog path settings which needs to be re-confirmed for the latest version.