How to programmatically combine a node alias using only the drupal 7 kernel (with it a great batch API!)?
My question is actually how to make drupal use and recognize aliases stored in url_alias table ?
History:
The project I'm working on contains more than 200,000 nodes (Drupal 7), and the default aliasing for all of these nodes literally takes years with the pathauto module (10 aliases every 20 minutes). I tried everything to improve these indicators, but could not (I tried different servers, various mysql optimizations, different templates).
I already have the functions of the batch process up and ready, they are for 200,000 nodes in 20 minutes, they create pure aliases stored in the table "url_alias". I looked at pathauto code for a long time, but could not find or understand how the module gave drupal the order of recognition of mass updated paths.
Thanks for your tips, answers or ideas. Very grateful!
source share