For all of my page nodes, I have an automatic URL alias setup like this: [term-raw]/[page-title].

When I save the page node, the URL always comes up with the correct term but instead of the page title it will display "create-new" in the URL.

If I then edit the node and clear out that path and recheck the Automatic Alias box and save, it works fine and shows the page title. But for every page I create, I have to go back and re-edit the node every single time. I'm wondering what might be causing that to happen or if anybody has any recommendations. Things seems to work fine with other node types.

Comments

anavarre’s picture

Which Drupal version are you using ? Are you using the latest releases of both Token and PathAuto ?

tacoparty’s picture

Yep, using Drupal 6 and using the latest versions of Pathauto and Token. Not sure what the problem is.

I tried using [title-raw] instead of [page-title] and it seems to work fine, so I guess I'll use that for now.

Thanks!

graysadler’s picture

Can you just use the node title instead of the page title?

Lead Developer and Founder of StreamRiot.com

WorldFallz’s picture

The page title is 'create new' at that point so the url is correct. You want to use the node title token, not page title.