Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Are path aliases addressed at all in this module? As in getting them out of TYPO3? Not that one would ever, under any circumstances, want to reproduce the horrific url structure of TYPO3, but having the info to set up redirects would be great. Thanks for any insights.
Comments
Comment #1
ishanmahajan CreditAttribution: ishanmahajan commentedApologies for taking so long to reply.
No, there is no support for path alias in this module by default. But I did migrate the TYPO3 page paths in one of the projects. The TYPO3 page paths are stored in the table "tx_realurl_pathcache". To migrate the paths you can add this line in the pages.inc file -
$query->leftJoin( TYPO3_DATABASE_NAME . 'tx_realurl_pathcache', 'tp', 'tp.page_id = pg.nid');
and then map the path -
$this->addFieldMapping('path', 'pagepath');
Handling redirects:
This module migrates only standard TYPO3 pages which have the doktype = 1 in the pages table. Redirects have the doktype = 4.
If you want to replicate the TYPO3 redirects in Drupal then i would suggest you migrate the pages of doktype = 4 and then create drupal redirects using the path redirect module api.
Regards
PS: to migrate pages of type redirects edit the array on line 37 of base.inc file like :
$this->queryParams['pages']['dokType'] = array(1,4);
Comment #2
ishanmahajan CreditAttribution: ishanmahajan commented