"drupal 301跳转"
Published on Aug. 22, 2023, 12:08 p.m.
drupal_goto(‘node/1’)
默认302
改为301如下
drupal\_goto('node/1', array(), 301);
Published on Aug. 22, 2023, 12:08 p.m.
drupal_goto(‘node/1’)
默认302
改为301如下
drupal\_goto('node/1', array(), 301);