PHP code example of luremo / craft-link-migrator
1. Go to this page and download the library: Download luremo/craft-link-migrator library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
luremo / craft-link-migrator example snippets
bash
php craft link-migrator/migrate/audit --field=ctaLink
php craft link-migrator/migrate/prepare-fields --field=ctaLink --force=1
php craft link-migrator/migrate/content --field=ctaLink --force=1 --create-backup=1
php craft link-migrator/migrate/status --field=ctaLink
php craft link-migrator/migrate/finalize --field=ctaLink --force=1 --acknowledge-mismatches=1
bash
php craft link-migrator/migrate/mismatches
bash
php craft link-migrator/migrate/rollback-info