Product url rewrites
Pacemaker Community Edition (CE) comes with a dedicated product URL rewrite import and the appropriate command import:products:url
therefore.
You can find more information about how to invoke the command in the usage section.
-
The filename for the dedicated product URL rewrite import must match the pattern
<PREFIX>_<FILENAME>_<COUNTER>.csv
. -
The default
<PREFIX>
isurl-rewrite
, the<FILENAME>
is a combination of date and time like20190608-114344
, and the<COUNTER>
is a consecutive number with two digits starting with01
. -
As a result, the filename is look like
url-rewrite_20190608-114344_01.csv
. -
Additionally the appropriate
.ok
file is needed.
|
The CSV file with the attributes for the Magento 2 CE/EE consists of the following columns:
Column Name | Type | Example | Description |
---|---|---|---|
sku |
|
|
The product SKU to import the tier price for |
store_view_code |
|
|
The specific store view(s) for attribute translations. If blank, the row provides the data for the admin store view. |
categories |
|
|
The comma (,) separated list with related categories, URL rewrites has to be created for |
product_websites |
|
|
The comma (,) separated list with website codes, URL rewrites has to be created for |
visibility |
|
|
The products visibility (URL rewrites will not be created for value |
url_key |
|
|
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 appropriate documentation for a more detailed description.