ProsePoint Express: hosted newspaper website content management software

Adding custom story URLs into Pathauto seems to conflict with clean URLs

3 replies [Last post]
Paul Gillingwater
Paul Gillingwater's picture
User offline. Last seen 1 year 14 weeks ago. Offline
Joined: 05/03/2009
Posts:
I have used the Pathauto capability to define a custom URL for stories: story/0[nid]-[title-raw] but this seems to be ignored when I turn on clean URLs. I need the 0[nid] so my site will have a chance of being indexed by Google News -- so how can I use both, or do I have to turn off clean URLs? cheers Paul
__________________

Follow me on http://www.twitter.com/ahbleza

beng
User offline. Last seen 6 days 16 hours ago. Offline
Joined: 27/02/2009
Posts:
Should work ...

Hi,

As far as I can tell, it should have just worked. However, when you redefine the pathauto pattern for stories, it only affects new stories, not existing ones. Is that possibly what's happening here?

If you want to change existing ones, you probably want to delete them first at .../admin/build/path/delete_bulk (but of course, be careful when doing this).

Paul Gillingwater
Paul Gillingwater's picture
User offline. Last seen 1 year 14 weeks ago. Offline
Joined: 05/03/2009
Posts:
Bulk recreate
Yes, you are right -- I found that the Pathauto was only taking effect when creating or modifying stories. It also seems to affect some image URLs embedded in stories, but I need to look at that more. Regarding changing existing ones -- I am a little nervous about a bulk delete... what triggers the recreation? cheers Paul
__________________

Follow me on http://www.twitter.com/ahbleza

beng
User offline. Last seen 6 days 16 hours ago. Offline
Joined: 27/02/2009
Posts:
Path aliases are normally

Path aliases are normally created upon node saving (ie. creation and editing). If you edit a node, and expand the fieldset URL path settings, you can influence this.

Alternatively, you can ask pathauto to generate aliases en-masse on the pathauto settings page itself (below where you define the patterns).