M2IF comes with a dedicated product URL rewrite import and the apropriate command
import:products:url therefore. You can find more information about how to invoke the command in the Usage section.
In general the filename for the dedicated product URL rewrite import MUST match the following pattern
<PREFIX>_<FILENAME>_<COUNTER>.csv, whereas the default
<FILENAME> is a combination of date and time like
20190608-114344, and the
<COUNTER> is a consecutive number with two digits starting with
01. This results in a filename like
url-rewrite_20190608-114344_01.csv. Additionally an apropriate
.ok file is needed.
ATTENTION: Please be aware that the three parts MUST be separated with an underscore "_" as there is meaning for the bunch import behind its structure.
The CSV file with the attributes for the Magento 2 CE/EE consists of the following columns
|sku||varchar||The product SKU to import the tier price for||
|store_view_code||varchar||The specific store view(s) for attribute translations. If blank, the row provides the data for the admin store view.||
|categories||varchar||The comma (,) separated list with related categories, URL rewrites has to be created for||
|product_websites||varchar||The comma (,) separated list with website codes, URL rewrites has to be created for||
|visibility||varchar||The products visibility (URL rewrites will NOT be created for value
|url_key||varchar||The URL key used to create the URL rewrite||
By default, the product URL rewrites will be imported with the full product import, read the apropriate documentation section therefore.