소스 검색

added url alias regeneration to migrate script

bach 3 년 전
부모
커밋
1455906c52
1개의 변경된 파일6개의 추가작업 그리고 0개의 파일을 삭제
  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