I moved many WordPress sites to a new server and all permalinks need to be "refreshed". I need to save again (without any changes) settings->permalinks to resolve pages/posts 404 error.
I ask if it exists a way to save permalinks (without changes) from wp-cli.
wp rewrite structure
but the structure of the permalinks must be passed as a parameter and each site has a different one and I need only to save with the same settings.