Drupal 6 node_export inport don't make pathauto alias


/ Published in: PHP
Save to your folder(s)

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


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.