We have two store views on one Magento 2 instance — en_AU (store_id 1) and en_US (store_id 2). The store_group default_store_id was changed to store_id 2 in 2021. The catalog_url_rewrites indexer then regenerated all URL rewrites using the US store as its canonical base, orphaning the AU store’s original URL keys.
Three specific questions:
- Does reverting default_store_id to store_id 1 and reindexing restore the correct AU URL keys?
- Are rows with entity_type = ‘custom’ preserved or overwritten during reindex?
- What is the correct order of operations to avoid broken URLs during the switchover?