Drupal 6 node_export inport don't make pathauto alias

/ Published in: PHP

If you're importing nodes from a file and have pathauto setup, the existing paths for the nodes will be rewritten with pathauto. To avoid this, simply add the following to the node export array for each node:

Copy this code and paste it in your HTML
  1. 'pathauto_perform_alias' => FALSE,

Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.