where in the db is the “Automatic alias” setting stored for drupal's pathauto

StackOverflow https://stackoverflow.com/questions/2588159

  •  24-09-2019
  •  | 
  •  

문제

I created a bunch of nodes using node_save(). Unfortunately, I forgot to turn on the Automatic alias setting on them. Anyone know how I can do that now? I can't figure out where in the db that setting is stored. (Other non-db approaches are fine, too.)

도움이 되었습니까?

해결책

Got the answer on drupal.org: http://drupal.org/node/763874

The short version: that checkbox isn't stored in the db, it's calculated for the form. The reason my nodes didn't create aliases is that there's a limit on the number that can be created at a time (50 by default).

다른 팁

In the path auto admin screen you can make a bulk alias creation operation. You can set the maximum alias' Per time created this way aswell.

I believe path alias also can be created in cron jobs, but I'm not quite sure.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top