During several relaunches I had to migrate thousands of content items (mostly news articles) from Typo3 (WTF?!??) sites to the new (Drupal-based) ones. Because Drupal's Bulk Import API or the Feeds module seemed way to overdose, I decided to accomplish that using only MySQL's toolbelt: Stored Procedures.
CALL do_batch_import(0, 1000);
After running Pathauto's batch updater, the field new_url
in
table ats_content_transition.tmp_id_news
had been updated with
the according url alias. (see Drupal table url_alias
). Finally
the old realurl aliases were put into a low-level Redis-based URL
redirection layer (cool URIs don't change and so) and I was done.