Hi,

We had PathAuto running without problems in D4 site; in this site, we used PathAuto to generate user profile and blog paths using the [user] token. We recently upgraded from Drupal 4.x to 5.x, and as recommended by the warning from PathAuto, we changed [user] to [user-raw].

However, after the upgrade we noticed that paths for users whose username include an underscore are rendering differently from the previous version; specifically, the underscores are removed. For example, before, "user_name" would render paths such as blogs/user_name or users/user_name; after the upgrade, the paths have changed to blogs/username or users/username. This is a problem, as we have many blog entries that are linked to from external sites that are now in a different location, therefore producing broken links.

I tried to rectify this by setting the "Underscore" setting to "No action (do not replace)" under Punctuation Settings, but the problem remains. I am not sure what else I can do.

Can you please help? Thanks!

Comments

greggles’s picture

That should be it - I'm not sure.

One suggestion is to use path_redirect module so that links to old urls are never lost.

What is your separator character?

ilfelice’s picture

> What is your separator character?

It is "_" (underscore). Could this be causing a conflict?

dave reid’s picture

Status: Active » Postponed (maintainer needs more info)

Have you still had this problem? Have you upgraded to Drupal 6 yet? :)

ilfelice’s picture

Hi,

I had forgotten about this issue.

We have in fact upgraded to D6, and the problem seems to have been fixed.

Thanks!

Freso’s picture

Status: Postponed (maintainer needs more info) » Fixed

Let's mark it as such then. :)

Status: Fixed » Closed (fixed)
Issue tags: -underscore

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