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> is url-rewrite, the <FILENAME> is a combination of date and time like 20190608-114344, and the <COUNTER> is a consecutive number with two digits starting with 01.

  • As a result, the filename is look like url-rewrite_20190608-114344_01.csv.

  • Additionally the appropriate .ok file is needed.

  • There is a fixed structure for the bunch import, which must be followed.

  • The three parts to be specified are each separated by an underscore ( _ ) and result in a filename like <PREFIX>_<FILENAME>_<COUNTER>.csv.

  • The name structure follows a predefined filename structure that is mandatory for the Bunch import.

The CSV file with the attributes for the Magento 2 CE/EE consists of the following columns:

Column Name Type Example Description

sku

varchar

24-MB01

The product SKU to import the tier price for

store_view_code

varchar

default

The specific store view(s) for attribute translations. If blank, the row provides the data for the admin store view.

categories

varchar

Default Category/Gear,Default Category/Gear/Bags

The comma (,) separated list with related categories, URL rewrites has to be created for

product_websites

varchar

base

The comma (,) separated list with website codes, URL rewrites has to be created for

visibility

varchar

Catalog, Search

The products visibility (URL rewrites will not be created for value Not Visible Individually)

url_key

varchar

joust-duffle-bag

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.