I used the Node export module to export few pages into features; when I import it is randomly imported.

Is there any particular pattern that it is followed while importing? I want to make a particular page as node 1.

1 Answer 1


That kind of thing is not really possible. The problem is that the node id is serial, so on one machine it will have on id but on another machine it will have another id. Also the the node id is the primary identification, so changing it is not always that easy (if you have comments etc.)

For this kind of thing, UUIDs is really needed (Universally Unique ID). There are modules for this in Drupal 7 and it's being worked on in Drupal 8, but neither will effect the node id, instead it will maintain a UUID which will be the same on all machines that has the node imported.

  • There are only 3 nodes that i export and import.
    – Hacker
    Feb 2, 2012 at 16:43
  • 1
    @Hacker The problem is not with how many nodes you export and import, but with the number of nodes already present in the Drupal site where the nodes are imported. What googletorp says is still valid, even when the site has two nodes.
    – apaderno
    Feb 2, 2012 at 17:42
  • @kiamlaluno - Its just a fresh site and i am importing this node by means of feature using installation profiles..
    – Hacker
    Feb 3, 2012 at 4:28
  • @Hacker Most likely you can look at the source and change the order of an array, to change when nodes are imported, but this will most likely be reverted by Features at some point. Tying logic to a serial id is generally a bad idea, what are you trying to do?
    – googletorp
    Feb 3, 2012 at 9:27
  • @googletorp - Just a quick demo to client about power of installation profiles and features. So that as soon as its installed, atleast home page comes up with few sliders and blocks and boxes and with few basic configuration pre done.
    – Hacker
    Feb 3, 2012 at 9:33

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.