On a repeat import, the same SKU can keep its product ID and get a new URL. Pick three SKUs on staging and record their IDs, URL Keys and paths in Marketing → SEO & Search → URL Rewrites for the store view.
Check how the importer saves products
Custom URL Rewrite 1.0.2 runs when a product is saved through ProductRepository. It checks the URL key plus .html against stored request paths, including paths for the same product or another store view. Check whether your importer uses that save path. The probe covered repository calls. Custom URL Rewrite. Module documentation.
Save the same data twice and compare the paths
The local probe used the original module with a sample catalog that kept earlier paths occupied. The first run added B-202. After the second there were still three products with the same IDs, and the URL keys had new suffixes. The table shows the paths chosen in this probe.
| SKU | Input key | Before | First run | Second run |
|---|---|---|---|---|
| A-101 | lamp | lamp.html | lamp-1.html | lamp-3.html |
| B-202 | lamp | — | lamp-2.html | lamp-4.html |
| C-303 | shade | shade.html | shade-1.html | shade-2.html |
In your importer, compare Request Path, Target Path and Redirect Type after both runs. Open the previous address and record the final URL and HTTP statuses. In Adobe Commerce’s standard importer, omit url_key and categories when you are updating data other than URLs or category assignments. Adobe Commerce import.
For the first collision and suffix selection, see the earlier guide.
