Closed geerlingguy closed 4 years ago
I noticed that in Drupal 7 there are things tracked like the count (number of times used) and 'last accessed' date for redirects, but that activity is not tracked or shown in the Drupal 8 version:
To add redirect metrics in Drupal 8, you have to install an extra module, Redirect Metrics.
I think I'll avoid installing that for now as I'm not sure I've ever actually deleted a redirect or had the need to do so... it's nice to have that info, but it's not necessary since there's a bit of a performance tradeoff (probably much more so than in D7).
For this issue, I copied the template out of the
redirect
module's migrations folder, then moved it into my site config directory with the filenamemigrate_plus.migration.upgrade_d7_path_redirect.yml
.I then ran
drush cim
to import the migration configuration.Finally, I ran the redirect migration:
docker-compose exec drupal bash -c 'drush migrate-import upgrade_d7_path_redirect'