Browse Source

added url alias regeneration to migrate script

bach 3 years ago
parent
commit
1455906c52
1 changed files with 6 additions and 0 deletions
  1. 6 0
      migrate-from-d7.sh

+ 6 - 0
migrate-from-d7.sh

@@ -139,3 +139,9 @@ drush mim d7_simplenews_nodes --feedback="200"
 drush mim d7_simplenews_subscribers --update --feedback="1000"
 # migration_loop d7_simplenews_subscribers;
 sleep 5
+
+echo " "
+echo "Regenerating url aliases for nodes and terms"
+drush pag all canonical_entities:taxonomy_term
+drush pag all canonical_entities:node
+sleep 5