Nice URL
Hello,
I want to specific a very important point to the url alias migration :
When you had done all steps of the tutorial, you must run the script to migrate the url alias, which is on the "urlaliasmigration" extension.
To do it, you must :
- create the new table
php extension/ezurlaliasmigration/scripts/migrate.php --create-migration-table
- Migrate existing data over to the migration table (ezurlalias_ml to ezurlalias_ml_migrate)
- Run migrate script
php extension/ezurlaliasmigration/scripts/migrate.php -s my_site_access
- Truncate table ezurlalias_ml
- Run again nice url script
php bin/php/updateniceurls.php --fetch-limit=number
- Run the restore script
php extension/ezurlaliasmigration/scripts/migrate.php --restore
- And to finish clear cache
php bin/php/ezcache.php --clear-all --purge
I have not do all first time and eZ can't do all my url alias.
The urls was "/content/view/full/node_id" and now it's working very nice.
Thanks.
Comments (3 historical)
Written by readers of the earlier documentation sites, kept as they were.
Re: Nice URL
Svitlana Shatokhina ·
I just tested the upgrade procedure from 3.9.0 to 3.10.1, unable to reproduce your problem. Did you run the "updateniceurls.php" script as described in Step 3? This should be enough to import URLs from 3.9.x, no need to do URL alias migration.
Re: Re: Nice URL
Nicolas Jessel ·
I've migrated from 3.6.4 to 4.0.1 and when i was at the step to migrate from 3.9.0 to 3.10.1, i've runned the "updateniceurls.php" script as described in Step 3 and my URL was "/content/view/full/node_id".
After, i've done the issue describe before and my URL was ok.
Thanks.
Re: Re: Re: Nice URL
Svitlana Shatokhina ·
Hi, please have a look at http://issues.ez.no/13563 - most likely that's where the problem comes from (old INI cache). I didn't manage to reproduce it last time because I cleared all caches before upgrading. I updated the doc now to say that you must clear the INI cache before running the script.