- Issue created by @vidorado
- Assigned to albertosilva
- 🇪🇸Spain albertosilva Basque Country
Hi @vidorado,
Static Suite is aimed at decoupling Drupal sites and making them static, and therefore it offers a plethora of features focused on that aim. Exporting redirects is one of those features, but maybe using Static Suite only to get those redirects seems to me somewhat overkilling.
I would recommend making a custom module or Drush command and copy there the functionality from modules/static_export/modules/static_export_exporter_redirect/src/Plugin/static_export/Exporter/Custom/RedirectExporter.php::calculateDataFromResolver().
You don't need the rest of features from Static Suite (and its inherit complexity), so I think that is a much better approach.
Thanks
- Status changed to Closed: works as designed
12 months ago 8:21am 29 December 2023