Closed (fixed)
Project:
Migrate Extras
Version:
7.x-2.5
Component:
Pathauto
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
22 Nov 2012 at 01:12 UTC
Updated:
10 Dec 2012 at 14:10 UTC
I'm using migrate to import a bunch of nodes and I want to set the path alias during the migration. I am able to import the path alias just fine like so:
$this->addFieldMapping('path', 'url_alias');
When I look at the imported nodes I see the correct path in the path field, but the "Generate automatic URL alias" checkbox is still checked which means the setting is getting ignored.
How do I disable that setting on the node during migration?
Comments
Comment #1
mikeryanInstall the Migrate Extras module, and add this mapping: